SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  descr1.product as product, 
  companies.company as company_name, 
  products.product_type, 
  products.parent_product_id, 
  descr1.full_description as full_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 = 129 
  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) 
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 prices.usergroup_id IN (0, 0, 1) 
  AND products.parent_product_id = 0 
  AND products.company_id IN('1', '2', '3', '4', '5', '6') 
  AND products.product_type != 'D' 
GROUP BY 
  products.product_id 
ORDER BY 
  product asc, 
  products.product_id ASC 
LIMIT 
  0, 12

Query time 0.00146

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "14.62"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "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",
              "used_key_parts": [
                "variant_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 5,
              "rows_produced_per_join": 2,
              "filtered": "48.99",
              "cost_info": {
                "read_cost": "5.00",
                "eval_cost": "0.49",
                "prefix_cost": "6.00",
                "data_read_per_join": "1K"
              },
              "used_columns": [
                "product_id",
                "variant_id",
                "lang_code"
              ],
              "attached_condition": "(`atulecarter_atul_demo1`.`c_var`.`lang_code` = 'en')"
            }
          },
          {
            "table": {
              "table_name": "products",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "status",
                "idx_parent_product_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "atulecarter_atul_demo1.c_var.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "42.58",
              "cost_info": {
                "read_cost": "2.45",
                "eval_cost": "0.21",
                "prefix_cost": "8.94",
                "data_read_per_join": "4K"
              },
              "used_columns": [
                "product_id",
                "product_type",
                "status",
                "company_id",
                "usergroup_ids",
                "parent_product_id"
              ],
              "attached_condition": "((`atulecarter_atul_demo1`.`products`.`parent_product_id` = 0) and ((`atulecarter_atul_demo1`.`products`.`usergroup_ids` = '') or find_in_set(0,`atulecarter_atul_demo1`.`products`.`usergroup_ids`) or find_in_set(1,`atulecarter_atul_demo1`.`products`.`usergroup_ids`)) and (`atulecarter_atul_demo1`.`products`.`status` = 'A') and (`atulecarter_atul_demo1`.`products`.`company_id` in ('1','2','3','4','5','6')) and (`atulecarter_atul_demo1`.`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": [
                "atulecarter_atul_demo1.products.company_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "16.67",
              "cost_info": {
                "read_cost": "1.04",
                "eval_cost": "0.03",
                "prefix_cost": "10.19",
                "data_read_per_join": "1K"
              },
              "used_columns": [
                "company_id",
                "status",
                "company"
              ],
              "attached_condition": "(`atulecarter_atul_demo1`.`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": [
                "atulecarter_atul_demo1.c_var.product_id"
              ],
              "rows_examined_per_scan": 11,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "1.56",
                "eval_cost": "0.38",
                "prefix_cost": "12.14",
                "data_read_per_join": "30"
              },
              "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": [
                "atulecarter_atul_demo1.products_categories.category_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "1.91",
                "eval_cost": "0.02",
                "prefix_cost": "14.43",
                "data_read_per_join": "255"
              },
              "used_columns": [
                "category_id",
                "storefront_id",
                "usergroup_ids",
                "status"
              ],
              "attached_condition": "(((`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids`)) and (`atulecarter_atul_demo1`.`cscart_categories`.`status` in ('A','H')) and (`atulecarter_atul_demo1`.`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": [
                "atulecarter_atul_demo1.c_var.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.02",
                "prefix_cost": "14.46",
                "data_read_per_join": "446"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product",
                "full_description"
              ]
            }
          },
          {
            "table": {
              "table_name": "prices",
              "access_type": "ref",
              "possible_keys": [
                "usergroup",
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "key": "usergroup",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "atulecarter_atul_demo1.c_var.product_id"
              ],
              "rows_examined_per_scan": 3,
              "rows_produced_per_join": 0,
              "filtered": "97.36",
              "using_index": true,
              "cost_info": {
                "read_cost": "0.10",
                "eval_cost": "0.06",
                "prefix_cost": "14.62",
                "data_read_per_join": "6"
              },
              "used_columns": [
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "attached_condition": "((`atulecarter_atul_demo1`.`prices`.`lower_limit` = 1) and (`atulecarter_atul_demo1`.`prices`.`usergroup_id` in (0,0,1)))"
            }
          }
        ]
      }
    }
  }
}

Result

product_id product company_name product_type parent_product_id full_description
162 AIKO SAFE Model AS 180 Office Safe with one shelve & one drawer CS-Cart P 0 <table> <tbody> <tr> <td>All AIKO safes are designed to provide maximum protection against fire and foil any tampering and break-ins. The anti-burglary Construction: Body &amp; Door: Tough steel plates precisely engineered using industry leading manufacturing techniques. Inserted with Premium formulated Ultra Fine Bubble Concrete provides the most effective insulation against intense heat to ensure valuables are protected from burglary &amp; fire. Automatic Stopper: The automatic stopper feature allows users to close the door with slightest of push. Locking System: Fitted with 4 directional Solid Steel bolt locking system to lock horizontally &amp; Vertically. Fitted with Dual Key lock system, with ultra secure cylinder Keys, Key &amp; Dial or Key &amp; Digital lock system. Automatic Re-locking: Fitted with Automatic Re-locking device. Test &amp; Approvals: Achieved the following international test certificates. 1. JIS - Japan Standard 2. KS - Korea Standard 3. SINTEF - Norway Standard 4. CNAL - China Standard Built in Alarm: (Optional) To set off anti burglary alarm</td> </tr> </tbody> </table> <table width="100%" style="margin-top: 20px;"> <tbody> <tr> <td colspan="8"> <h4>SIZE (APPROX.) &amp; BRIEF SPECIFICATION</h4> </td> </tr> <tr> <td colspan="8"> <table width="100%"> <tbody> <tr bgcolor="#660000"> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="45%" height="35"><strong>Model</strong></td> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="55%"><strong>AS-180</strong></td> </tr> <tr> <td width="45%">Outside</td> <td width="55%">H900 X W600 X D570 mm</td> </tr> <tr> <td>Inside</td> <td>H693 X W462 X D360 mm</td> </tr> <tr> <td>Weight</td> <td>180 Kgs</td> </tr> <tr> <td>Accessory</td> <td>1 Shelf, 1 Drawer</td> </tr> <tr> <td>Capacity</td> <td>116L</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
159 AIKO SAFE Model AS 53 Home Safe, Horizontal Model with one tray CS-Cart P 0 <p>All AIKO safes are designed to provide maximum protection against fire and foil any tampering and break-ins. The anti-burglary</p> <p>Construction: Body &amp; Door: Tough steel plates precisely engineered using industry leading manufacturing techniques. Inserted with Premium formulated Ultra Fine Bubble Concrete provides the most effective insulation against intense heat to ensure valuables are protected from burglary &amp; fire.</p> <p>Automatic Stopper: The automatic stopper feature allows users to close the door with slightest of push.</p> <p>Locking System: Fitted with 4 directional Solid Steel bolt locking system to lock horizontally &amp; Vertically. Fitted with Dual Key lock system, with ultra secure cylinder Keys, Key &amp; Dial or Key &amp; Digital lock system.</p> <p>Automatic Re-locking: Fitted with Automatic Re-locking device.</p> <p>Test &amp; Approvals: Achieved the following international test certificates. 1. JIS - Japan Standard 2. KS - Korea Standard 3. SINTEF - Norway Standard</p>
158 AIKO SAFE Model Economy (AS 30) Home Safe, with single key CS-Cart P 0 <table> <tbody> <tr> <td>AIKO safes are designed to provide maximum protection against fire and foil any tampering and break-ins. The anti-burglary Construction: Body &amp; Door: Tough steel plates precisely engineered using industry leading manufacturing techniques. Inserted with Premium formulated Ultra Fine Bubble Concrete provides the most effective insulation against intense heat to ensure valuables are protected from burglary &amp; fire. Automatic Stopper: The automatic stopper feature allows users to close the door with slightest of push. Locking System: Fitted with Solid Steel bolt locking system to lock horizontally. Fitted with Single Key lock system, with ultra secure cylinder Key. Test &amp; Approvals: Achieved the following international test certificates. 1. JIS - Japan Standard 2. KS - Korea Standard 3. SINTEF - Norway Standard 4. CNAL - China Standard Built in Alarm: (Optional) To set off anti burglary alarm Terms and Conditions 1. Only loca</td> </tr> </tbody> </table> <table width="100%" style="margin-top: 20px;"> <tbody> <tr> <td colspan="8"> <h4>SIZE (APPROX.) &amp; BRIEF SPECIFICATION</h4> </td> </tr> <tr> <td colspan="8"> <table width="100%"> <tbody> <tr bgcolor="#660000"> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="45%" height="35"><strong>Model</strong></td> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="55%"><strong>AS 30 - Single Key</strong></td> </tr> <tr> <td width="45%">Outside</td> <td width="55%">320 H x 400 W x 330 D MM</td> </tr> <tr> <td>Inside</td> <td>220 H x 320 W x 210 D MM</td> </tr> <tr> <td>Weight</td> <td>30 KGS</td> </tr> <tr> <td>Accessory</td> <td>NIL</td> </tr> <tr> <td>Capacity</td> <td>14 LTR</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>