SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  descr1.product as product, 
  companies.company as company_name, 
  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_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_product_popularity as popularity ON popularity.product_id = products.product_id 
WHERE 
  1 
  AND cscart_categories.category_id IN (554) 
  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 prices.usergroup_id IN (0, 0, 1) 
  AND products.parent_product_id = 0 
  AND products.product_type != 'D' 
GROUP BY 
  products.product_id 
ORDER BY 
  popularity.total desc, 
  products.product_id ASC 
LIMIT 
  0, 160

Query time 0.00956

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "67.46"
    },
    "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.10",
                "prefix_cost": "0.00",
                "data_read_per_join": "3K"
              },
              "used_columns": [
                "category_id",
                "storefront_id",
                "usergroup_ids",
                "status"
              ]
            }
          },
          {
            "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": "products_categories",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "pt"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "category_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 129,
              "rows_produced_per_join": 129,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "1.05",
                "eval_cost": "12.90",
                "prefix_cost": "15.51",
                "data_read_per_join": "2K"
              },
              "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": [
                "softwarepirmam_hewadelivard_cscart_4.products_categories.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 6,
              "filtered": "5.00",
              "cost_info": {
                "read_cost": "32.25",
                "eval_cost": "0.65",
                "prefix_cost": "60.66",
                "data_read_per_join": "28K"
              },
              "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`.`parent_product_id` = 0) 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": "prices",
              "access_type": "ref",
              "possible_keys": [
                "usergroup",
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "key": "product_id",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "softwarepirmam_hewadelivard_cscart_4.products_categories.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 6,
              "filtered": "99.93",
              "cost_info": {
                "read_cost": "1.61",
                "eval_cost": "0.64",
                "prefix_cost": "62.92",
                "data_read_per_join": "154"
              },
              "used_columns": [
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`prices`.`lower_limit` = 1) and (`softwarepirmam_hewadelivard_cscart_4`.`prices`.`usergroup_id` in (0,0,1)))"
            }
          },
          {
            "table": {
              "table_name": "popularity",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "total"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "softwarepirmam_hewadelivard_cscart_4.products_categories.product_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 6,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "1.61",
                "eval_cost": "0.64",
                "prefix_cost": "65.18",
                "data_read_per_join": "206"
              },
              "used_columns": [
                "product_id",
                "total"
              ]
            }
          },
          {
            "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.products_categories.product_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 6,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "1.64",
                "eval_cost": "0.64",
                "prefix_cost": "67.46",
                "data_read_per_join": "29K"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

product_id product company_name product_type parent_product_id
4974 Nespresso Pixie Machine Delivard Store P 0
5376 Krups SENSATION - EA910E40 Delivard Store P 0
5397 Philips Series Series 3300 Latte Go- EP3347 Delivard Store P 0
4995 Nespresso Essenza Mini D30 Delivard Store P 0
5549 Trisa Coffee Machine - Espresso Perfetto Delivard Store P 0
4992 Nespresso Essenza Mini C30 Delivard Store P 0
4991 Nespresso Citiz Delivard Store P 0
5346 DE’LONGHI MAGNIFICA S Delivard Store P 0
6823 Kenwood Coffee Machine CMM05 Delivard Store P 0
5472 Rhea V+ grande premium Delivard Store P 0
5387 DE’LONGHI BLADE COFFEE GRINDER Delivard Store P 0
5565 Saeco Phedra Evo Delivard Store P 0
5309 DE’LONGHI EC685 DEDICA STYLE Delivard Store P 0
5386 DE'LONGHI ECAM450.76.T ELETTA EXPLORE Delivard Store P 0
5568 iPilot Golden Eagle 4S Delivard Store P 0
5393 Philips 5400 Series EP5447 Delivard Store P 0
4988 Nespresso Gran Lattissima White Delivard Store P 0
5468 Breville Barista Max Plus Delivard Store P 0
5394 Philips 5500 Series EP5546 Delivard Store P 0
5375 KRUPS EA8150 Compact PISA Super Automatic Espresso Machine EA815050 Delivard Store P 0
5396 Philips 3300 Series EP3326 Delivard Store P 0
4961 Nespresso Citiz Platinum & Milk Delivard Store P 0
5467 Breville Barista Max Espresso Coffee Machine Delivard Store P 0
5370 DE'LONGHI ECAM13123 ESPRESSO MACHINE Delivard Store P 0
5369 DE’LONGHI ECAM25120SB ESPRESSO MACHINE Delivard Store P 0
5566 Saeco Iperautomatica Premium Delivard Store P 0
4989 Nespresso Citiz & Milk Delivard Store P 0
5377 Krups EVIDENCE ECO DESIGN - EA897B40 Delivard Store P 0
5567 iPilot Golden Paris E2S Delivard Store P 0
5477 iPilot SPRINT S5 Delivard Store P 0
5374 Krups EA82FE10 Quattro Delivard Store P 0
5550 Rhea BL eC Delivard Store P 0
5388 Philips HD7435 Drip Coffee Maker Delivard Store P 0
5541 Trisa Espresso Machine - Barista Plus (Red) Delivard Store P 0
5564 Rhea rhTT3.pro Delivard Store P 0
5544 Trisa Coffee Grinder - Macinino Caffe Delivard Store P 0
5555 Rhea laRhea V+ grande Delivard Store P 0
5371 DE’LONGHI ECAM350.50.B DINAMICA Delivard Store P 0
5392 De'Longhi ECAM450.86.T Dedica Conical Burr Grinder Delivard Store P 0
5466 Breville Barista Mini Espresso Coffee Machine Delivard Store P 0
5390 DE’LONGHI BURR COFFEE GRINDER Delivard Store P 0
5372 DE’LONGHI ECAM370.70.B DINAMICA PLUS Delivard Store P 0
5473 Rhea V+ grande 2 premium Delivard Store P 0
6773 Kenwood CMM10 Drip Coffee Maker – 12-Cup Capacity, Permanent Filter, 40-Minute Auto Shut-Off, Keep Warm Plate Delivard Store P 0
5546 Trisa Coffee Mill - Perfect Coffee Grinder Delivard Store P 0
5391 Philips 3200 Series Espresso Machine Latte Go Delivard Store P 0
5389 Philips Grind & Brew Coffee maker HD7767 Delivard Store P 0
5398 Philips Senseo Original Plus Capsules Coffee Maker Delivard Store P 0
5469 Sage The Bambino Delivard Store P 0
5543 Trisa Espresso Machine - Barista Plus (Silver) Delivard Store P 0
5470 Sage Barista Express Espresso Machine Delivard Store P 0
5547 Trisa Filter Coffee Maker - Perfect Coffee 6 Delivard Store P 0
5534 Sage the Barista Pro Delivard Store P 0
5471 Sage The Barista Touch Delivard Store P 0
5538 Sage the Barista Express Delivard Store P 0
5548 Trisa Filter Coffee Maker - Perfect Coffee 12 Delivard Store P 0
5542 Trisa Espresso Machine - Barista Plus (Anthracite) Delivard Store P 0
6245 Smeg Drip Coffee Machine in Pastel Blue Delivard Store P 0
6253 Smeg ESPRESSO MACHINE 50'STYLE WITH INTEGRATED GRINDER CREAM Delivard Store P 0
6241 Smeg Cream Drip Coffee Machine Delivard Store P 0
6207 Smeg Espresso Coffee Machine Delivard Store P 0
6220 Smeg Black Drip Coffee Machine Delivard Store P 0
6243 Smeg Cream Milk Frother Delivard Store P 0
6553 Braun Breakfast1 Coffee Maker KF1100 Delivard Store P 0
7516 Fakir Coffee Maker – Gray Delivard Store P 0
11255 De'Longhi Dedica Arte Coffee Machine Delivard Store P 0
11277 De'Longhi Dedica Duo Espresso Machine With Cold Brew Delivard Store P 0
11280 De'Longhi Rivelia Coffee Machine Delivard Store P 0
10412 Hausberg Electric Coffee Grinder Delivard Store P 0
7514 Fakir VKM 6018 Espresso Maker Delivard Store P 0
7521 Fakir Aroma Gourmet 8-Cup Filter Coffee Machine – Copper Delivard Store P 0
7515 Fakir Babila Coffee Machine Delivard Store P 0
7519 Fakir Base Coffee Machine 4-Cup Capacity – Gray Delivard Store P 0
10371 Hausberg HB-3735AB – Coffee Maker Delivard Store P 0
7524 Fakir Aromatic Coffee and Spice Grinder – 60G Delivard Store P 0
11112 De'Longhi Burr Coffee Grinder Delivard Store P 0
11222 De'Longhi ​Nescafe Dolce Gusto Infinissima Touch Delivard Store P 0
10411 Hausberg Electric Turkish Coffee Machine Delivard Store P 0
11102 De'Longhi Coffee Grinder Delivard Store P 0
10999 Elekta Coffee Machine Delivard Store P 0
11120 De'Longhi ​MiniMe Coffee Maker Delivard Store P 0
11311 De'Longhi Magnifica Start Delivard Store P 0
11312 De'Longhi Magnifica Evo Coffee Maker Delivard Store P 0
11098 De'Longhi Filter Coffee Maker Delivard Store P 0
11262 De'Longhi BCO Series Coffee Maker Delivard Store P 0
11283 De'Longhi La Specialista Touch Delivard Store P 0
11314 De'Longhi Cappuccino Coffee Maker Delivard Store P 0
11285 De'Longhi Prima Donna Soul Coffee Maker Delivard Store P 0
11286 De'Longhi Eletta Explore Coffee Machine Delivard Store P 0
11290 De'Longhi Eletta Cappuccino Top Coffee Maker Delivard Store P 0