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, 
  cscart_product_review_prepared_data.average_rating average_rating, 
  cscart_product_review_prepared_data.reviews_count product_reviews_count 
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 
  INNER JOIN cscart_product_variation_group_products AS variation_group_products ON variation_group_products.product_id = products.product_id 
  LEFT JOIN cscart_product_review_prepared_data ON cscart_product_review_prepared_data.product_id = products.product_id 
  AND cscart_product_review_prepared_data.storefront_id = 0 
WHERE 
  1 
  AND companies.status IN ('A') 
  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 (
    14188, 14189, 14187, 14185, 14190, 14186
  ) 
GROUP BY 
  products.product_id 
ORDER BY 
  NULL asc

Query time 0.00627

JSON explain

{
  "query_block": {
    "select_id": 1,
    "temporary_table": {
      "nested_loop": [
        {
          "table": {
            "table_name": "variation_group_products",
            "access_type": "range",
            "possible_keys": ["PRIMARY", "idx_group_id"],
            "key": "idx_group_id",
            "key_length": "3",
            "used_key_parts": ["group_id"],
            "rows": 26,
            "filtered": 100,
            "index_condition": "variation_group_products.group_id in (14188,14189,14187,14185,14190,14186)"
          }
        },
        {
          "table": {
            "table_name": "products",
            "access_type": "eq_ref",
            "possible_keys": ["PRIMARY", "status"],
            "key": "PRIMARY",
            "key_length": "3",
            "used_key_parts": ["product_id"],
            "ref": ["dev_db.variation_group_products.product_id"],
            "rows": 1,
            "filtered": 51.89157104,
            "attached_condition": "(products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A'"
          }
        },
        {
          "table": {
            "table_name": "companies",
            "access_type": "eq_ref",
            "possible_keys": ["PRIMARY"],
            "key": "PRIMARY",
            "key_length": "4",
            "used_key_parts": ["company_id"],
            "ref": ["dev_db.products.company_id"],
            "rows": 1,
            "filtered": 100,
            "attached_condition": "companies.`status` = 'A'"
          }
        },
        {
          "table": {
            "table_name": "descr1",
            "access_type": "eq_ref",
            "possible_keys": ["PRIMARY", "product_id"],
            "key": "PRIMARY",
            "key_length": "11",
            "used_key_parts": ["product_id", "lang_code"],
            "ref": ["dev_db.variation_group_products.product_id", "const"],
            "rows": 1,
            "filtered": 100,
            "attached_condition": "trigcond(descr1.lang_code = 'en')"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_review_prepared_data",
            "access_type": "eq_ref",
            "possible_keys": ["PRIMARY"],
            "key": "PRIMARY",
            "key_length": "7",
            "used_key_parts": ["product_id", "storefront_id"],
            "ref": ["dev_db.variation_group_products.product_id", "const"],
            "rows": 1,
            "filtered": 100
          }
        },
        {
          "table": {
            "table_name": "products_categories",
            "access_type": "ref",
            "possible_keys": ["PRIMARY", "pt"],
            "key": "pt",
            "key_length": "3",
            "used_key_parts": ["product_id"],
            "ref": ["dev_db.variation_group_products.product_id"],
            "rows": 1,
            "filtered": 100
          }
        },
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "eq_ref",
            "possible_keys": ["PRIMARY", "p_category_id"],
            "key": "PRIMARY",
            "key_length": "3",
            "used_key_parts": ["category_id"],
            "ref": ["dev_db.products_categories.category_id"],
            "rows": 1,
            "filtered": 100,
            "using_index": true
          }
        }
      ]
    }
  }
}

Result

product_id amount product company_name variation_group_id product_type parent_product_id average_rating product_reviews_count
1100 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 P 0 4.67 3
24005 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24006 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24007 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24008 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24009 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24010 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24011 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24012 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24013 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24014 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24015 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24016 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24017 999 Triangular Hair Clips, Cute Handmade Hair Clip, Hand-Embroidered Pattern, Vintage Style, Perfect Gift For Friends Who Love Handmade Items Tạp Hóa Ú 14185 V 1100 4.67 3
24018 999 Embroidered Ribbon Hair Clips, Made Of Linen And Cotton Fabric, Feminine And Graceful Style, Lovely Flower And Leaf Embroidery Tạp Hóa Ú 14186 P 0 4.67 6
24019 998 Embroidered Ribbon Hair Clips, Made Of Linen And Cotton Fabric, Feminine And Graceful Style, Lovely Flower And Leaf Embroidery Tạp Hóa Ú 14186 V 24018 4.67 6
24020 997 Embroidered Ribbon Hair Clips, Made Of Linen And Cotton Fabric, Feminine And Graceful Style, Lovely Flower And Leaf Embroidery Tạp Hóa Ú 14186 V 24018 4.67 6
1097 997 Linen Face Masks, Cute Handmade Face Mask, Made From Lightweight Linen Fabric, Comfortable Wearing Experience Tạp Hóa Ú 14187 P 0 4.78 9
24021 999 Linen Face Masks, Cute Handmade Face Mask, Made From Lightweight Linen Fabric, Comfortable Wearing Experience Tạp Hóa Ú 14187 V 1097 4.78 9
24022 999 Linen Face Masks, Cute Handmade Face Mask, Made From Lightweight Linen Fabric, Comfortable Wearing Experience Tạp Hóa Ú 14187 V 1097 4.78 9
1096 999 Tote Bags Tạp Hóa Ú 14188 P 0 4.83 6
24056 999 Tote Bags Tạp Hóa Ú 14188 V 1096 4.83 6
1095 997 Hand Embroidered Fabric Bags Tạp Hóa Ú 14189 P 0 4.71 7
24057 999 Hand Embroidered Fabric Bags Tạp Hóa Ú 14189 V 1095 4.71 7
24058 999 Hand Embroidered Fabric Bags Tạp Hóa Ú 14189 V 1095 4.71 7
1094 999 Handmade Embroidered Aprons, Made of Linen and Canvas, Various Designs, Cute Design, Completely Handcrafted Product Tạp Hóa Ú 14190 P 0 4.57 7
24059 999 Handmade Embroidered Aprons, Made of Linen and Canvas, Various Designs, Cute Design, Completely Handcrafted Product Tạp Hóa Ú 14190 V 1094 4.57 7
24060 999 Handmade Embroidered Aprons, Made of Linen and Canvas, Various Designs, Cute Design, Completely Handcrafted Product Tạp Hóa Ú 14190 V 1094 4.57 7
24061 999 Handmade Embroidered Aprons, Made of Linen and Canvas, Various Designs, Cute Design, Completely Handcrafted Product Tạp Hóa Ú 14190 V 1094 4.57 7