SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  IF(
    shared_descr.product_id IS NOT NULL, 
    shared_descr.product, 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_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id 
  AND shared_descr.company_id = 1 
  AND shared_descr.lang_code = 'en' 
  LEFT JOIN cscart_product_restricted_countries AS prc ON prc.product_id = products.product_id 
  AND prc.country_code = 'US' 
WHERE 
  1 
  AND cscart_categories.category_id IN (25, 40) 
  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.available_worldwide = 'Y' 
    OR prc.country_code IS NULL
  ) 
  AND !(
    products.out_of_stock_actions = 'B' && products.avail_since > 1747391721
  ) 
  AND products.parent_product_id = 0 
GROUP BY 
  products.product_id 
ORDER BY 
  products.timestamp desc, 
  products.product_id desc, 
  products.product_id ASC 
LIMIT 
  3740, 20

Query time 0.05594

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE companies ALL PRIMARY 1 Using where; Using temporary; Using filesort
1 SIMPLE cscart_categories range PRIMARY,c_status,p_category_id PRIMARY 3 2 Using where; Using join buffer (flat, BNL join)
1 SIMPLE products_categories ref PRIMARY,pt PRIMARY 3 toolboxdigitalshop_dev.cscart_categories.category_id 908 Using index
1 SIMPLE products eq_ref PRIMARY,status,idx_parent_product_id PRIMARY 3 toolboxdigitalshop_dev.products_categories.product_id 1 Using where
1 SIMPLE shared_descr eq_ref PRIMARY,product_id,company_id PRIMARY 13 toolboxdigitalshop_dev.products_categories.product_id,const,const 1 Using where
1 SIMPLE prc eq_ref PRIMARY PRIMARY 9 toolboxdigitalshop_dev.products_categories.product_id,const 1 Using where; Using index
1 SIMPLE descr1 eq_ref PRIMARY,product_id PRIMARY 9 toolboxdigitalshop_dev.products_categories.product_id,const 1 Using where
1 SIMPLE prices ref usergroup,product_id,lower_limit,usergroup_id usergroup 3 toolboxdigitalshop_dev.products_categories.product_id 1 Using where; Using index

Result

product_id product company_name product_type parent_product_id
97123 B1 - 3672 01 (Original Mix) Toolbox Digital Shop P 0
97122 A1 - 3672 01 (Original Mix) Toolbox Digital Shop P 0
109027 Nothing Lasts (Extended) Toolbox Digital Shop P 0
109026 Nothing Lasts (Radio Edit) Toolbox Digital Shop P 0
108917 One last Victory (Original Mix) Toolbox Digital Shop P 0
108999 Revelation (Extended) Toolbox Digital Shop P 0
108998 Revelation (Radio Edit) Toolbox Digital Shop P 0
108975 Illumination (Original Mix) Toolbox Digital Shop P 0
109046 Back to Life (Original Mix) Toolbox Digital Shop P 0
108960 On my Own (Original Mix) Toolbox Digital Shop P 0
108877 Mankind (Original Mix) Toolbox Digital Shop P 0
108920 First Strike (Original Mix) Toolbox Digital Shop P 0
110746 Need Love (Extended Mix) Toolbox Digital Shop P 0
110725 Cosmic (Extended Mix) Toolbox Digital Shop P 0
97093 Guardians (Extended Mix) Toolbox Digital Shop P 0
97092 Guardians (Original Mix) Toolbox Digital Shop P 0
113549 Ievan Polkka (Theo Gobensen Edit) Toolbox Digital Shop P 0
122783 Popopop (Remix) Toolbox Digital Shop P 0
125264 Back (Original Mix) Toolbox Digital Shop P 0
97127 B2 - 3672 02 (Original Mix) Toolbox Digital Shop P 0