SELECT 
  products.product_id, 
  products.amount, 
  descr1.product as product, 
  companies.company as company_name, 
  cscart_supplier_links.supplier_id, 
  products.kl_erp_inventory_id, 
  variation_group_products.group_id AS variation_group_id, 
  products.product_type, 
  products.parent_product_id, 
  products.master_product_offers_count, 
  products.master_product_id, 
  products.company_id 
FROM 
  cscart_products as products 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'en' 
  LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id 
  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_categories.storefront_id IN (0, 1) 
  LEFT JOIN cscart_supplier_links ON cscart_supplier_links.object_id = products.product_id 
  AND cscart_supplier_links.object_type = 'P' 
  INNER JOIN cscart_product_variation_group_products AS variation_group_products ON variation_group_products.product_id = products.product_id 
WHERE 
  1 
  AND (
    companies.status IN ('A') 
    OR products.company_id = 0
  ) 
  AND products.company_id IN (13, 0) 
  AND (
    products.usergroup_ids = '' 
    OR FIND_IN_SET(0, products.usergroup_ids) 
    OR FIND_IN_SET(1, products.usergroup_ids)
  ) 
  AND products.status IN ('A') 
  AND variation_group_products.group_id IN (253) 
  AND products.master_product_status IN ('A') 
GROUP BY 
  products.product_id 
ORDER BY 
  NULL asc

Query time 0.00097

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.98"
    },
    "ordering_operation": {
      "using_filesort": false,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "variation_group_products",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "idx_group_id"
              ],
              "key": "idx_group_id",
              "used_key_parts": [
                "group_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 26,
              "rows_produced_per_join": 26,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "6.21",
                "eval_cost": "2.60",
                "prefix_cost": "8.81",
                "data_read_per_join": "416"
              },
              "used_columns": [
                "product_id",
                "group_id"
              ]
            }
          },
          {
            "table": {
              "table_name": "products",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "age_verification",
                "status",
                "idx_parent_product_id",
                "idx_master_product_id",
                "youtube_link",
                "idx_kl_erp_inventory_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "cscart_db.variation_group_products.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "6.50",
                "eval_cost": "0.13",
                "prefix_cost": "17.91",
                "data_read_per_join": "6K"
              },
              "used_columns": [
                "product_id",
                "kl_erp_inventory_id",
                "product_type",
                "status",
                "company_id",
                "amount",
                "usergroup_ids",
                "parent_product_id",
                "master_product_id",
                "master_product_status",
                "master_product_offers_count"
              ],
              "attached_condition": "((`cscart_db`.`products`.`company_id` in (13,0)) and ((`cscart_db`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`cscart_db`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`cscart_db`.`products`.`usergroup_ids`))) and (`cscart_db`.`products`.`status` = 'A') and (`cscart_db`.`products`.`master_product_status` = 'A'))"
            }
          },
          {
            "table": {
              "table_name": "descr1",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "product_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "cscart_db.variation_group_products.product_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.74",
                "eval_cost": "0.13",
                "prefix_cost": "18.78",
                "data_read_per_join": "5K"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product"
              ]
            }
          },
          {
            "table": {
              "table_name": "companies",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "company_id"
              ],
              "key_length": "4",
              "ref": [
                "cscart_db.products.company_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.33",
                "eval_cost": "0.13",
                "prefix_cost": "19.24",
                "data_read_per_join": "9K"
              },
              "used_columns": [
                "company_id",
                "status",
                "company"
              ],
              "attached_condition": "<if>(found_match(companies), ((`cscart_db`.`companies`.`status` = 'A') or (`cscart_db`.`products`.`company_id` = 0)), true)"
            }
          },
          {
            "table": {
              "table_name": "cscart_supplier_links",
              "access_type": "ref",
              "possible_keys": [
                "object_id"
              ],
              "key": "object_id",
              "used_key_parts": [
                "object_id",
                "object_type"
              ],
              "key_length": "7",
              "ref": [
                "cscart_db.variation_group_products.product_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "index_condition": "<if>(is_not_null_compl(cscart_supplier_links), (`cscart_db`.`cscart_supplier_links`.`object_id` = `cscart_db`.`variation_group_products`.`product_id`), true)",
              "cost_info": {
                "read_cost": "0.33",
                "eval_cost": "0.13",
                "prefix_cost": "19.69",
                "data_read_per_join": "20"
              },
              "used_columns": [
                "supplier_id",
                "object_id",
                "object_type"
              ]
            }
          },
          {
            "table": {
              "table_name": "products_categories",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "pt"
              ],
              "key": "pt",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "cscart_db.variation_group_products.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "0.63",
                "eval_cost": "0.15",
                "prefix_cost": "20.47",
                "data_read_per_join": "23"
              },
              "used_columns": [
                "product_id",
                "category_id"
              ]
            }
          },
          {
            "table": {
              "table_name": "cscart_categories",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "c_status",
                "p_category_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "category_id"
              ],
              "key_length": "3",
              "ref": [
                "cscart_db.products_categories.category_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "0.36",
                "eval_cost": "0.01",
                "prefix_cost": "20.98",
                "data_read_per_join": "207"
              },
              "used_columns": [
                "category_id",
                "usergroup_ids",
                "status",
                "storefront_id"
              ],
              "attached_condition": "(((`cscart_db`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`cscart_db`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`cscart_db`.`cscart_categories`.`usergroup_ids`))) and (`cscart_db`.`cscart_categories`.`status` in ('A','H')) and (`cscart_db`.`cscart_categories`.`storefront_id` in (0,1)))"
            }
          }
        ]
      }
    }
  }
}

Result

product_id amount product company_name supplier_id kl_erp_inventory_id variation_group_id product_type parent_product_id master_product_offers_count master_product_id company_id
4886 1 Apple Cinnamon & Oatmeal Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4882 4 Beetroot & Dark Chocolate Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4881 9 Beetroot & Dark Chocolate Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4884 6 Apple Cinnamon & Oatmeal Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4873 998 Ginger Snaps Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4868 979 Sugar Free Coffee Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4865 994 Wheatflour & Jaggery Cookies - 300 gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4861 1 Ragi Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4870 95 Raspberry Jam Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4864 7 Wheatflour & Jaggery Cookies - 200 gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4860 12 Ragi Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4867 0 Sugar Free Coffee Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 698 253 P 0 0 0 13
4862 0 Ragi Cookies - 300g Roadskye Tradecom Pvt. Ltd. 698 253 P 0 0 0 13
4889 0 Coconut Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4888 0 Coconut Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4887 0 Coconut Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4885 8 Apple Cinnamon & Oatmeal Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4869 77 Raspberry Jam Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4866 16 Sugar Free Coffee Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4871 14 Raspberry Jam Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4872 1000 Ginger Snaps Cookies - 150gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4874 998 Ginger Snaps Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4876 994 Sugar Free Rosemary Cookies - 200gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
4883 995 Beetroot & Dark Chocolate Cookies - 300gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13
5611 3 Wheatflour & Jaggery Cookies - 150 gm Roadskye Tradecom Pvt. Ltd. 57 253 P 0 0 0 13