SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  products.amount, 
  descr1.product as product, 
  companies.company as company_name, 
  variation_group_products.group_id AS variation_group_id, 
  products.product_type, 
  products.parent_product_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) 
  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') 
  AND (
    products.amount > 0 
    OR products.tracking = 'D'
  ) 
  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 (
    276, 275, 220, 402, 580, 277, 574, 576, 
    837, 784, 783
  ) 
  AND products.product_type != 'D' 
GROUP BY 
  products.product_id 
ORDER BY 
  NULL asc

Query time 0.00205

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "25.83"
    },
    "ordering_operation": {
      "using_filesort": false,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "variation_group_products",
              "access_type": "range",
              "possible_keys": [
                "PRIMARY",
                "idx_group_id"
              ],
              "key": "idx_group_id",
              "used_key_parts": [
                "group_id"
              ],
              "key_length": "3",
              "rows_examined_per_scan": 26,
              "rows_produced_per_join": 26,
              "filtered": "100.00",
              "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`variation_group_products`.`group_id` in (276,275,220,402,580,277,574,576,837,784,783))",
              "cost_info": {
                "read_cost": "11.86",
                "eval_cost": "2.60",
                "prefix_cost": "14.46",
                "data_read_per_join": "416"
              },
              "used_columns": [
                "product_id",
                "group_id"
              ]
            }
          },
          {
            "table": {
              "table_name": "products",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "status"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 4,
              "filtered": "17.71",
              "cost_info": {
                "read_cost": "6.50",
                "eval_cost": "0.46",
                "prefix_cost": "23.56",
                "data_read_per_join": "20K"
              },
              "used_columns": [
                "product_id",
                "product_type",
                "status",
                "company_id",
                "amount",
                "usergroup_ids",
                "tracking",
                "parent_product_id"
              ],
              "attached_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`products`.`amount` > 0) or (`softwarepirmam_hewadelivard_cscart_4`.`products`.`tracking` = 'D')) and ((`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`product_type` <> 'D'))"
            }
          },
          {
            "table": {
              "table_name": "companies",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "company_id"
              ],
              "key_length": "4",
              "ref": [
                "softwarepirmam_hewadelivard_cscart_4.products.company_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "10.00",
              "cost_info": {
                "read_cost": "1.15",
                "eval_cost": "0.05",
                "prefix_cost": "25.17",
                "data_read_per_join": "2K"
              },
              "used_columns": [
                "company_id",
                "status",
                "company"
              ],
              "attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`companies`.`status` = 'A')"
            }
          },
          {
            "table": {
              "table_name": "products_categories",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "pt"
              ],
              "key": "pt",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id"
              ],
              "rows_examined_per_scan": 2,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.23",
                "eval_cost": "0.09",
                "prefix_cost": "25.49",
                "data_read_per_join": "14"
              },
              "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": [
                "softwarepirmam_hewadelivard_cscart_4.products_categories.category_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "0.23",
                "eval_cost": "0.00",
                "prefix_cost": "25.82",
                "data_read_per_join": "147"
              },
              "used_columns": [
                "category_id",
                "storefront_id",
                "usergroup_ids",
                "status"
              ],
              "attached_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`status` in ('A','H')) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`storefront_id` in (0,1)))"
            }
          },
          {
            "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": [
                "softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.01",
                "eval_cost": "0.00",
                "prefix_cost": "25.83",
                "data_read_per_join": "215"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

product_id amount product company_name variation_group_id product_type parent_product_id
2562 100 Anker Soundcore C40i Open-Ear Earbuds Delivard Store 220 P 0
2768 100 JBL LIVE Flex, True Wireless NC Earbuds, Wireless Charging, full touch Delivard Store 275 V 2767
2767 100 JBL LIVE Flex, True Wireless NC Earbuds, Wireless Charging, full touch Delivard Store 275 P 0
2775 100 Anker Soundcore R100 Delivard Store 276 P 0
2786 100 JBL LIVE Pro 2, True Wireless NC Earbuds, Wireless Charging, full touch TWS Delivard Store 277 P 0
2787 100 JBL LIVE Pro 2, True Wireless NC Earbuds, Wireless Charging, full touch TWS Delivard Store 277 V 2786
3548 100 Belkin 012 SOUNDFORM RHYTHM TRUE WIRELESS EARBUDS Delivard Store 402 P 0
3549 100 Belkin 012 SOUNDFORM RHYTHM TRUE WIRELESS EARBUDS Delivard Store 402 V 3548
5129 100 Philips TWS Headphones with ANC pro Delivard Store 574 V 5126
5126 100 Philips TWS Headphones with ANC pro Delivard Store 574 P 0
5135 100 Philips TWS Headphones Delivard Store 576 V 5133
5133 100 Philips TWS Headphones Delivard Store 576 P 0
5151 100 Philips Headphones Delivard Store 580 P 0
5153 100 Philips Headphones Delivard Store 580 V 5151
7871 100 1HORA TWS BT Earphone A8S with Screen Delivard Store 783 P 0
7872 100 1HORA TWS BT Earphone A8S with Screen Delivard Store 783 V 7871
7873 100 1HORA True Wireless Circular Earphones Delivard Store 784 P 0
7875 100 1HORA True Wireless Circular Earphones Delivard Store 784 V 7873
7876 100 1HORA True Wireless Circular Earphones Delivard Store 784 V 7873
8703 100 Hama Freedom Light II Bluetooth TWS Earbuds with Voice Control Delivard Store 837 P 0
8704 100 Hama Freedom Light II Bluetooth TWS Earbuds with Voice Control Delivard Store 837 V 8703
8705 100 Hama Freedom Light II Bluetooth TWS Earbuds with Voice Control Delivard Store 837 V 8703
8706 100 Hama Freedom Light II Bluetooth TWS Earbuds with Voice Control Delivard Store 837 V 8703