SELECT 
  SQL_CALC_FOUND_ROWS (
    CASE WHEN products.parent_product_id <> 0 THEN products.parent_product_id ELSE products.product_id END
  ) AS product_id, 
  descr1.product as product, 
  companies.company as company_name, 
  GROUP_CONCAT(
    products.product_id 
    ORDER BY 
      products.parent_product_id ASC, 
      products.product_id ASC
  ) AS product_ids, 
  GROUP_CONCAT(
    products.product_type 
    ORDER BY 
      products.parent_product_id ASC, 
      products.product_id ASC
  ) AS product_types, 
  GROUP_CONCAT(
    products.parent_product_id 
    ORDER BY 
      products.parent_product_id ASC, 
      products.product_id ASC
  ) AS parent_product_ids, 
  products.product_type, 
  products.parent_product_id, 
  products.master_product_offers_count, 
  products.master_product_id, 
  products.company_id, 
  descr1.full_description as full_description, 
  descr1.short_description as short_description 
FROM 
  cscart_products as products 
  INNER JOIN cscart_product_features_values as c_var ON c_var.product_id = products.product_id 
  AND c_var.lang_code = 'en' 
  AND c_var.variant_id = 131 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'en' 
  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id 
  AND prices.lower_limit = 1 
  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_master_products_storefront_offers_count AS master_products_storefront_offers_count ON master_products_storefront_offers_count.product_id = products.product_id 
  AND master_products_storefront_offers_count.storefront_id = 1 
WHERE 
  1 
  AND (
    companies.status IN ('A') 
    OR products.company_id = 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 prices.usergroup_id IN (0, 0, 1) 
  AND products.master_product_status IN ('A') 
  AND products.master_product_id = 0 
  AND (
    products.company_id > 0 
    OR (
      master_products_storefront_offers_count.count > 0
    )
  ) 
  AND products.product_type != 'D' 
GROUP BY 
  product_id 
ORDER BY 
  product asc, 
  products.product_id ASC 
LIMIT 
  0, 12

Query time 0.00210

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.35811528,
    "filesort": {
      "sort_key": "descr1.product, products.product_id",
      "temporary_table": {
        "filesort": {
          "sort_key": "case when products.parent_product_id <> 0 then products.parent_product_id else products.product_id end",
          "temporary_table": {
            "nested_loop": [
              {
                "table": {
                  "table_name": "c_var",
                  "access_type": "ref",
                  "possible_keys": [
                    "variant_id",
                    "lang_code",
                    "product_id",
                    "idx_product_feature_variant_id"
                  ],
                  "key": "variant_id",
                  "key_length": "3",
                  "used_key_parts": ["variant_id"],
                  "ref": ["const"],
                  "loops": 1,
                  "rows": 36,
                  "cost": 0.00692658,
                  "filtered": 54.89857483,
                  "attached_condition": "c_var.lang_code = 'en'",
                  "using_index": true
                }
              },
              {
                "table": {
                  "table_name": "products",
                  "access_type": "eq_ref",
                  "possible_keys": [
                    "PRIMARY",
                    "status",
                    "idx_master_product_id",
                    "wdbi_master_product_status_master_product_id_produc_46b93429beec",
                    "wdbi_master_product_id_master_product_status_produc_611007cab252",
                    "wdbi_master_product_id_master_product_status_produc_37d8c9a2112a",
                    "wdbi_master_product_id_master_product_status_status_1d4dcd83320a",
                    "wdbi_master_product_id_master_product_status_produc_909a0cf2d55b",
                    "wdbi_master_product_id_master_product_status_status_ff7ba2ae2fb0"
                  ],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["product_id"],
                  "ref": ["u985510652_ecartify_abhi.c_var.product_id"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.06169104,
                  "filtered": 100,
                  "attached_condition": "products.master_product_id = 0 and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.master_product_status = 'A' and products.product_type <> 'D'"
                }
              },
              {
                "table": {
                  "table_name": "master_products_storefront_offers_count",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY", "idx_storefront_id"],
                  "key": "PRIMARY",
                  "key_length": "8",
                  "used_key_parts": ["product_id", "storefront_id"],
                  "ref": ["u985510652_ecartify_abhi.c_var.product_id", "const"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.03301904,
                  "filtered": 100,
                  "attached_condition": "trigcond(products.company_id > 0 or master_products_storefront_offers_count.count > 0) and trigcond(master_products_storefront_offers_count.product_id = c_var.product_id)"
                }
              },
              {
                "table": {
                  "table_name": "companies",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY"],
                  "key": "PRIMARY",
                  "key_length": "4",
                  "used_key_parts": ["company_id"],
                  "ref": ["u985510652_ecartify_abhi.products.company_id"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.03301904,
                  "filtered": 100,
                  "attached_condition": "trigcond(companies.`status` = 'A' or products.company_id = 0)"
                }
              },
              {
                "table": {
                  "table_name": "descr1",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY", "product_id"],
                  "key": "PRIMARY",
                  "key_length": "9",
                  "used_key_parts": ["product_id", "lang_code"],
                  "ref": ["u985510652_ecartify_abhi.c_var.product_id", "const"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.06169104,
                  "filtered": 100,
                  "attached_condition": "trigcond(descr1.lang_code = 'en')"
                }
              },
              {
                "table": {
                  "table_name": "prices",
                  "access_type": "ref",
                  "possible_keys": [
                    "usergroup",
                    "product_id",
                    "lower_limit",
                    "usergroup_id",
                    "wdbi_product_id_lower_limit_usergroup_id_price_eff1727beeef",
                    "wdbi_usergroup_id_lower_limit_product_id_92b7e8f6a250",
                    "wdbi_product_id_lower_limit_usergroup_id_price_perc_3b2301d551d0",
                    "wdbi_lower_limit_usergroup_id_product_id_b93629431718"
                  ],
                  "key": "usergroup",
                  "key_length": "3",
                  "used_key_parts": ["product_id"],
                  "ref": ["u985510652_ecartify_abhi.c_var.product_id"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.06421572,
                  "filtered": 100,
                  "attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)"
                }
              },
              {
                "table": {
                  "table_name": "products_categories",
                  "access_type": "ref",
                  "possible_keys": ["PRIMARY", "pt"],
                  "key": "pt",
                  "key_length": "3",
                  "used_key_parts": ["product_id"],
                  "ref": ["u985510652_ecartify_abhi.c_var.product_id"],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.06453378,
                  "filtered": 100,
                  "using_index": true
                }
              },
              {
                "table": {
                  "table_name": "cscart_categories",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY", "c_status", "p_category_id"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["category_id"],
                  "ref": [
                    "u985510652_ecartify_abhi.products_categories.category_id"
                  ],
                  "loops": 36,
                  "rows": 1,
                  "cost": 0.03301904,
                  "filtered": 100,
                  "attached_condition": "(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)"
                }
              }
            ]
          }
        }
      }
    }
  }
}

Result

product_id product company_name product_ids product_types parent_product_ids product_type parent_product_id master_product_offers_count master_product_id company_id full_description short_description
786967 2011 Ice Queen Parrot Products,Parrot Products 786967,232,786968,786969,786970,786971,786972,786973,786974 P,V,V,V,V,V,V,V,V 0,786967,786967,786967,786967,786967,786967,786967,786967 V 786967 0 0 1 <p>Hydration Capacity: 70 oz (2 L)<br><br>Total Capacity: 1000 cu in (16.39 L)<br><br>CamelBak®Got Your Bak&trade; Guarantee: If we built it, we'll Bak it&trade; with our lifetime guarantee. <br><br>Reservoir Features: 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed&trade;<br><br>HARNESS: S-Curved Women's Harness; Therminator&trade; provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Removable 1" (25 mm) stability<br><br>Additional Features: <br>Tri-Zip design allows easy access to all your gear, compresion, goggle pocket, essentials pocket<br><br>Designed to carry: Helmet, goggles, extra layers, lunch, phone, wallet, keys</p> <p>Reservoir Features: 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening</p>
230 2011 Pit Boss Parrot Products,Parrot Products 230 P 0 P 0 0 0 1 <p>Hydration Capacity: 100 oz (3 L)<br><br>Total Capacity: 1800 cu in (29.50 L)<br><br>CamelBak® Got Your Bak&trade; Guarantee: If we built it, we'll Bak it&trade; with our lifetime guarantee. <br><br>Reservoir Features: Quick Link&trade; System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Air Director&trade; Snowshed&trade;<br><br>HARNESS: Therminator&trade; provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Load-bearing with cargo<br><br>Additional Features: <br>Versatile Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), tri-zip quick gear access, gear compression, goggle pocket, essentials pocket<br>Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br><br>Designed to carry: skis/snowboard, shovel, probe, skins, snowshoes, helmet, goggles, extra layers, lunch, tools, camera, phone, wallet, keys</p>
231 2011 Tycoon Parrot Products,Parrot Products 231 P 0 P 0 0 0 1 <p>Hydration Capacity: 100 oz (3 L)<br><br>Total Capacity: 1125 cu in (18.44 L)<br><br>CamelBak® Got Your Bak&trade; Guarantee: If we built it, we'll Bak it&trade; with our lifetime guarantee. <br><br>Reservoir Features: Quick Link&trade; System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed&trade;<br><br>HARNESS: Therminator&trade; provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Load-bearing<br><br>Additional Features: <br>Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), pack compression, goggle pocket, essentials pocket<br>Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br><br>Designed to carry: skis/snowboard, shovel, probe, skins or snowshoes, goggles, extra layer, snack, phone, wallet, keys</p> <p>An elegant lace gown with a flattering silhouette, designed for special occasions. Lightweight, refined, and effortlessly timeless.</p>
786978 Yellow Elegant lighting monaco 8 light chandelier AutoZone 786978,786978,786978 P,P,P 0,0,0 P 0 0 0 17 <p>The Elegant Lighting Monaco 8-Light Chandelier is a stunning statement lighting fixture designed to bring sophistication, warmth, and a luxurious touch to any interior. Featuring eight beautifully arranged lights, this chandelier provides ample illumination while creating an elegant focal point in dining rooms, living areas, entryways, bedrooms, and other stylish spaces.</p> <p>Its refined design combines classic elegance with a contemporary aesthetic, making it easy to complement a wide range of interior styles. The carefully crafted frame and balanced eight-light configuration add visual appeal while ensuring light is distributed beautifully throughout the room. Whether you are refreshing your home décor or creating an upscale atmosphere, the Monaco 8-Light Chandelier adds a distinctive decorative element to your space.</p> <p>Perfect for both everyday lighting and special occasions, this chandelier can enhance the ambiance of your home with its graceful presence and inviting illumination. Its sophisticated appearance makes it an excellent choice for homeowners looking to create a polished, comfortable, and luxurious environment.</p>