SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  IF(
    shared_descr.product_id IS NOT NULL, 
    shared_descr.product, descr1.product
  ) as product, 
  IF(
    shared_descr.product_id IS NOT NULL, 
    shared_descr.youtube_link, products.youtube_link
  ) AS youtube_link, 
  cscart_aval_statuses_descr.descr as aval_descr 
FROM 
  cscart_products as products 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'fr' 
  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id 
  AND prices.lower_limit = 1 
  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') 
  LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id 
  AND shared_descr.company_id = 3 
  AND shared_descr.lang_code = 'fr' 
  LEFT JOIN cscart_aval_statuses ON cscart_aval_statuses.aval_status_id = products.aval_status 
  LEFT JOIN cscart_aval_statuses_descr ON cscart_aval_statuses.aval_status_id = cscart_aval_statuses_descr.aval_status_id 
  AND cscart_aval_statuses.status = 'A' 
  AND cscart_aval_statuses_descr.lang_code = 'fr' 
  LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id 
WHERE 
  1 
  AND cscart_categories.category_id IN (963) 
  AND cscart_categories.company_id = 3 
  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) 
GROUP BY 
  products.product_id 
ORDER BY 
  popularity.total desc, 
  product_id ASC 
LIMIT 
  0, 12

Query time 0.00297

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_categories const PRIMARY,c_status,p_category_id,idx_category_id PRIMARY 3 const 1 Using temporary; Using filesort
1 SIMPLE products_categories ref PRIMARY,pt,product_id_idx,category_id_idx,product_category_idx,category_product_idx PRIMARY 3 const 36 Using where; Using index
1 SIMPLE products eq_ref PRIMARY,status,product_id_idx,status_idx PRIMARY 3 mahm3t_cs443.products_categories.product_id 1 Using where
1 SIMPLE prices ref usergroup,product_id,lower_limit,usergroup_id usergroup 3 mahm3t_cs443.products_categories.product_id 1 Using where; Using index
1 SIMPLE descr1 eq_ref PRIMARY,product_id PRIMARY 9 mahm3t_cs443.products_categories.product_id,const 1 Using where
1 SIMPLE shared_descr eq_ref PRIMARY,product_id,company_id PRIMARY 13 mahm3t_cs443.products_categories.product_id,const,const 1 Using where
1 SIMPLE cscart_aval_statuses eq_ref PRIMARY PRIMARY 4 mahm3t_cs443.products.aval_status 1
1 SIMPLE cscart_aval_statuses_descr ref aval_status_id aval_status_id 10 mahm3t_cs443.cscart_aval_statuses.aval_status_id,const 1 Using where
1 SIMPLE popularity eq_ref PRIMARY,total PRIMARY 3 mahm3t_cs443.products_categories.product_id 1

Result

product_id product youtube_link aval_descr
430 Fenêtre de toit ERW (Economic Roof Window) | en bois, double vitrage
9470 Fenêtre de toit OptiLight VK
750 Fenêtre de toit OptiLight PVC | Double vitrage <p style="color: rgb(26, 188, 156);">Ships within 1-3 business days after receipt of your payment</p> <p style="color: rgb(26, 188, 156);"><span style="color: rgb(255, 0, 0);">Only 1 left in stock. Sale while stocks last</span></p>
426 SKYLIGHT | Fenêtre de toit en PVC <p style="color: #1abc9c;">Habituellement expédié sous 1 à 3 jours ouvrés après réception de votre paiement</p>
10157 SkyFens SkyLight PLUS TERMO | PVC Fenêtre de toit à double vitrage, à pivot haut, du groupe suisse Arbonia <p>Habituellement expédié sous 6 à 10 jours ouvrés après réception de votre paiement</p>
8860 Fenêtre de toit VELUX GZL 1051 | Finition bois massif
8878 Fenêtre de toit VELUX GLU 0051 | Finition EverFinish - Le blanc éternel
8861 Fenêtre de toit VELUX GZL-B 1051 | Finition bois massif
10076 Fenêtre de toit VELUX GLU-B 0051 | Finition EverFinish - Le blanc éternel
8864 Fenêtre de toit VELUX GGL 3070 | Finition bois massif
8880 Fenêtre de toit VELUX GGU 0070 | Finition EverFinish - Le blanc éternel
524 VELUX groupe fenêtre de toit RoofLITE+ SOLID PVC <p>Habituellement expédié sous 6 à 10 jours ouvrés après réception de votre paiement</p>