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 (
    63, 64, 62, 901, 915, 899, 900, 897, 919, 
    917, 920, 898, 916
  ) 
  AND products.product_type != 'D' 
GROUP BY 
  products.product_id 
ORDER BY 
  NULL asc

Query time 0.00313

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "45.77"
    },
    "ordering_operation": {
      "using_filesort": false,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "companies",
              "access_type": "ALL",
              "possible_keys": [
                "PRIMARY"
              ],
              "rows_examined_per_scan": 10,
              "rows_produced_per_join": 1,
              "filtered": "10.00",
              "cost_info": {
                "read_cost": "1.46",
                "eval_cost": "0.10",
                "prefix_cost": "1.56",
                "data_read_per_join": "6K"
              },
              "used_columns": [
                "company_id",
                "status",
                "company"
              ],
              "attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`companies`.`status` = 'A')"
            }
          },
          {
            "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": 47,
              "rows_produced_per_join": 47,
              "filtered": "100.00",
              "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`variation_group_products`.`group_id` in (63,64,62,901,915,899,900,897,919,917,920,898,916))",
              "using_join_buffer": "hash join",
              "cost_info": {
                "read_cost": "19.71",
                "eval_cost": "4.70",
                "prefix_cost": "25.97",
                "data_read_per_join": "752"
              },
              "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": 2,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "11.75",
                "eval_cost": "0.24",
                "prefix_cost": "42.42",
                "data_read_per_join": "10K"
              },
              "used_columns": [
                "product_id",
                "product_type",
                "status",
                "company_id",
                "amount",
                "usergroup_ids",
                "tracking",
                "parent_product_id"
              ],
              "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`products`.`company_id` = `softwarepirmam_hewadelivard_cscart_4`.`companies`.`company_id`) and ((`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": "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": 4,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "1.18",
                "eval_cost": "0.47",
                "prefix_cost": "44.07",
                "data_read_per_join": "75"
              },
              "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": "1.18",
                "eval_cost": "0.02",
                "prefix_cost": "45.71",
                "data_read_per_join": "753"
              },
              "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.03",
                "eval_cost": "0.02",
                "prefix_cost": "45.77",
                "data_read_per_join": "1K"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

product_id amount product company_name variation_group_id product_type parent_product_id
1128 500 Apple Watch SE Delivard Store 62 V 1126
1127 500 Apple Watch SE Delivard Store 62 V 1126
1126 500 Apple Watch SE Delivard Store 62 P 0
1125 500 Apple Watch SE Delivard Store 62 V 1126
1124 500 Apple Watch SE Delivard Store 62 V 1126
1123 500 Apple Watch SE Delivard Store 62 V 1126
1139 500 Apple Watch Series 10 Delivard Store 63 V 1134
1138 500 Apple Watch Series 10 Delivard Store 63 V 1134
1137 500 Apple Watch Series 10 Delivard Store 63 V 1134
1136 500 Apple Watch Series 10 Delivard Store 63 V 1134
1135 500 Apple Watch Series 10 Delivard Store 63 V 1134
1134 500 Apple Watch Series 10 Delivard Store 63 P 0
1133 500 Apple Watch Series 10 Delivard Store 63 V 1134
1132 500 Apple Watch Series 10 Delivard Store 63 V 1134
1131 500 Apple Watch Series 10 Delivard Store 63 V 1134
1130 500 Apple Watch Series 10 Delivard Store 63 V 1134
1129 500 Apple Watch Series 10 Delivard Store 63 V 1134
827 500 Apple Watch Series 10 Delivard Store 63 V 1134
1141 500 Apple Watch Ultra 2 Delivard Store 64 V 851
851 500 Apple Watch Ultra 2 Delivard Store 64 P 0
9602 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Smartwatch Delivard Store 897 P 0
9603 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Smartwatch Delivard Store 897 V 9602
9604 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Ocean Band Delivard Store 898 P 0
9615 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Ocean Band Delivard Store 898 V 9604
9646 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Trail Loop Smartwatch Delivard Store 899 P 0
9647 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Trail Loop Smartwatch Delivard Store 899 V 9646
9648 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Alpine Loop Smartwatch Delivard Store 900 P 0
9649 100 Apple Watch Ultra 3 GPS + Cellular 49mm Titanium Alpine Loop Smartwatch Delivard Store 900 V 9648
9653 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 P 0
9654 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9655 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9656 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9657 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9658 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9659 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9660 100 Apple Watch Series 11 GPS Aluminium Case with Sport Band Smartwatch Delivard Store 901 V 9653
9869 100 Apple Watch SE 3 GPS with Sport Band Smartwatch Delivard Store 915 V 9868
9868 100 Apple Watch SE 3 GPS with Sport Band Smartwatch Delivard Store 915 P 0
9870 100 Apple Watch SE 3 GPS with Sport Band Smartwatch Delivard Store 915 V 9868
9871 100 Apple Watch SE 3 GPS with Sport Band Smartwatch Delivard Store 915 V 9868
9874 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Titanium Milanese Loop Smartwatch Delivard Store 916 P 0
9875 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Titanium Milanese Loop Smartwatch Delivard Store 916 V 9874
9877 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Ocean Band Smartwatch Delivard Store 917 P 0
9878 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Ocean Band Smartwatch Delivard Store 917 V 9877
9881 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Trail Loop Smartwatch Delivard Store 919 P 0
9882 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Trail Loop Smartwatch Delivard Store 919 V 9881
9884 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Alpine Loop Smartwatch Delivard Store 920 P 0
9885 100 Apple Watch Ultra 2 GPS + Cellular 49mm Titanium with Alpine Loop Smartwatch Delivard Store 920 V 9884