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 
  LEFT JOIN cscart_product_features_values as var_val_18 ON var_val_18.product_id = products.product_id 
  AND var_val_18.lang_code = 'en' 
  AND var_val_18.feature_id = 18 
  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 (
    var_val_18.variant_id IN (127)
  ) 
  AND cscart_categories.category_id IN (252) 
  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.00163

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.63"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_categories",
              "access_type": "const",
              "possible_keys": [
                "PRIMARY",
                "c_status",
                "p_category_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "category_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.00",
                "eval_cost": "0.20",
                "prefix_cost": "0.00",
                "data_read_per_join": "2K"
              },
              "used_columns": [
                "category_id",
                "storefront_id",
                "usergroup_ids",
                "status"
              ]
            }
          },
          {
            "table": {
              "table_name": "var_val_18",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "fl",
                "variant_id",
                "lang_code",
                "product_id",
                "fpl",
                "idx_product_feature_variant_id"
              ],
              "key": "fl",
              "used_key_parts": [
                "feature_id",
                "lang_code",
                "variant_id"
              ],
              "key_length": "12",
              "ref": [
                "const",
                "const",
                "const"
              ],
              "rows_examined_per_scan": 2,
              "rows_produced_per_join": 2,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "2.00",
                "eval_cost": "0.40",
                "prefix_cost": "2.40",
                "data_read_per_join": "1K"
              },
              "used_columns": [
                "feature_id",
                "product_id",
                "variant_id",
                "lang_code"
              ],
              "attached_condition": "(`atulecarter_atul_demo1`.`var_val_18`.`product_id` is not null)"
            }
          },
          {
            "table": {
              "table_name": "products_categories",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "pt"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "category_id",
                "product_id"
              ],
              "key_length": "6",
              "ref": [
                "const",
                "atulecarter_atul_demo1.var_val_18.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 2,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "2.00",
                "eval_cost": "0.40",
                "prefix_cost": "4.80",
                "data_read_per_join": "32"
              },
              "used_columns": [
                "product_id",
                "category_id"
              ]
            }
          },
          {
            "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.var_val_18.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "42.58",
              "cost_info": {
                "read_cost": "2.00",
                "eval_cost": "0.17",
                "prefix_cost": "7.20",
                "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": "0.85",
                "eval_cost": "0.03",
                "prefix_cost": "8.22",
                "data_read_per_join": "1021"
              },
              "used_columns": [
                "company_id",
                "status",
                "company"
              ],
              "attached_condition": "(`atulecarter_atul_demo1`.`companies`.`status` = 'A')"
            }
          },
          {
            "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.var_val_18.product_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.14",
                "eval_cost": "0.03",
                "prefix_cost": "8.39",
                "data_read_per_join": "663"
              },
              "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.var_val_18.product_id"
              ],
              "rows_examined_per_scan": 3,
              "rows_produced_per_join": 0,
              "filtered": "97.36",
              "using_index": true,
              "cost_info": {
                "read_cost": "0.15",
                "eval_cost": "0.08",
                "prefix_cost": "8.63",
                "data_read_per_join": "9"
              },
              "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
174 Swingline® Optima® 20 Electric Stapler CS-Cart P 0 <p>&nbsp;</p> <h2 style="color: #424242; font-size: 13px; font-family: arial, verdana, sans-serif; padding: 0px; margin: 0px;"><span id="_ctl0_MainContent__ctl0_lblProdName" style="padding: 0px; margin: 0px;">Swingline&reg; Optima&reg; 20 Electric Stapler</span></h2> <p style="padding-top: 0px; padding-bottom: 10px; color: #424242; font-family: arial, verdana, sans-serif; font-size: 11px; margin: 0px;"><span id="_ctl0_MainContent__ctl0_lblWebCopy" style="padding: 0px; margin: 0px;">Quiet, space-saving desktop electric stapler is packed with user-friendly features including intuitive user control that helps provide accurate staple placement.</span></p> <ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; color: #424242; font-family: arial, verdana, sans-serif; font-size: 11px;"> <span id="_ctl0_MainContent__ctl0_lblFeatBenefits" style="padding: 0px; margin: 0px;"> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Jam free stapling guaranteed when using S.F.&reg; 4&reg; or Optima&trade; Premium Staples</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Durable construction to withstand everyday use</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Convenient, built-in detachable staple remover &amp; LED light to indicates low staple count</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Manual or automatic operation, with both plug-in and battery power options</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">20 sheet stapling capacity</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Limited 5-year warranty &amp; 100% Performance Guarantee</li> </span> </ul> <p>&nbsp;</p>
171 Swingline™ Stack-and-Shred™ 100X Hands Free Shredder CS-Cart P 0 <p> <p style="padding-top: 0px; padding-bottom: 10px; color: #424242; font-family: arial, verdana, sans-serif; font-size: 11px; margin: 0px;"> <h2 style="font-size: 13px; padding: 0px; margin: 0px;"><span id="_ctl0_MainContent__ctl0_lblProdName" style="padding: 0px; margin: 0px;">Swingline&trade; Stack-and-Shred&trade; 100X Hands Free Shredder</span></h2> <p style="padding-top: 0px; padding-bottom: 10px; color: #424242; margin: 0px;"><span id="_ctl0_MainContent__ctl0_lblWebCopy" style="padding: 0px; margin: 0px;">Experience the productivity of hands free shredding. The Swingline&trade; Stack-and-Shred&trade; shredder works without your supervision; just stack, shut and you're done. Stack up to 100 sheets for automatic shredding at home or in the office. Manual bypass handles 6 sheets of glossy, folded or crumpled paper.</span></p> <ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px;"> <span id="_ctl0_MainContent__ctl0_lblFeatBenefits" style="padding: 0px; margin: 0px;"> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Hands free shredding-just stack, shut and you're done</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Auto+ jam clearance automatically reverses and re-feeds stuck papers to clear any jam. LED light indicates rare jams that require user action.</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Cross-cut shredder meets moderate security needs (Level 3)</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Shreds credit cards, paper clips, staples, documents into 7-gallon waste bin with view window</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">100 sheet shred capacity on automatic operation, 6 sheet shred capacity on manual</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Self Clean feature extends cutter life</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">2-year warranty on machine, 2-year on cutters</li> <li style="list-style-image: url(http://www.acco.com/swingline/assets/images/li_plus.gif); margin: 0px;">Dimensions: 17&rdquo;H x 12&rdquo;W x 14&rdquo;D, fits under a desk</li> </span> </ul> </p> </p>