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 > 1747390881
  ) 
  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 
  3020, 20

Query time 0.04556

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
111794 My Demons (Radio Edit) Toolbox Digital Shop P 0
111793 My Demons (Original Mix) Toolbox Digital Shop P 0
109129 Wherever (Extended Mix) Toolbox Digital Shop P 0
109032 Kraken (Extended) Toolbox Digital Shop P 0
109031 Kraken (Radio Edit) Toolbox Digital Shop P 0
109011 True Power (Original Mix) Toolbox Digital Shop P 0
108892 Running Circles (Extended) Toolbox Digital Shop P 0
108891 Running Circles (Radio Edit) Toolbox Digital Shop P 0
108790 Blue Night Sky (Original Mix) Toolbox Digital Shop P 0
108632 Roll Up To The Party (Original Mix) Toolbox Digital Shop P 0
108618 2MyBeat (Extended Mix) Toolbox Digital Shop P 0
109040 Emotions (Original Mix) Toolbox Digital Shop P 0
108675 Clank It Up (Original Mix) Toolbox Digital Shop P 0
108674 Turn Around (Original Mix) Toolbox Digital Shop P 0
108610 Become Reality (Pro Mix) Toolbox Digital Shop P 0
108901 No More Fear (Extended) Toolbox Digital Shop P 0
108900 No More Fear (Radio Edit) Toolbox Digital Shop P 0
108884 Lost (Extended) Toolbox Digital Shop P 0
108883 Lost (Radio Edit) Toolbox Digital Shop P 0
108554 Dolphin (Original Mix) Toolbox Digital Shop P 0