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 (
    9804, 9809, 9810, 9811, 9812, 9807, 9808, 
    9683, 10455, 10456, 10454, 10453, 10452, 
    10451, 10450, 10449, 10448, 10447, 
    12691, 12692, 12693, 12694, 12695, 
    12696, 12697, 12698, 12699, 10370, 
    10372, 10374, 10376, 10377, 10378, 
    10379, 10380, 10381, 10371, 10373, 
    10375, 10387, 10395, 10390, 10394, 
    10393, 10392, 10386, 10389, 10388, 
    10637, 10638, 10639, 10640, 10641, 
    10744, 10745, 10746, 9905, 10168, 10041, 
    10643, 10606, 10094, 10097, 12703
  )

Query time 0.00037

JSON explain

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