SELECT 
  f.feature_id, 
  f.purpose, 
  p.product_id, 
  p.parent_product_id, 
  g.id, 
  g.code 
FROM 
  cscart_product_variation_group_features AS f 
  INNER JOIN cscart_product_variation_groups AS g ON f.group_id = g.id 
  INNER JOIN cscart_product_variation_group_products AS p ON f.group_id = p.group_id 
WHERE 
  p.product_id IN (
    9824, 9825, 9826, 9827, 9828, 9829, 9830, 
    10241, 10242, 10243, 10244, 10245, 
    10246, 10247, 10248, 10249, 10250, 
    10251, 10252, 10253, 10254, 10255, 
    10256, 10257, 10258, 10259, 10260, 
    10261, 10713, 10714, 10715, 10716, 
    10717, 10718, 10719, 10720, 10721, 
    10722, 10723, 10739, 10740, 10741, 
    10742, 10305, 10306, 10307, 10308, 
    10309, 10310, 10311, 10312, 12999, 
    13000, 13001, 13002, 13003, 13004, 
    13005, 13006, 13007, 13008, 13009, 
    13010, 13011
  )

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}