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 (
    10071, 10067, 10051, 10060, 10055, 10043, 
    10068, 10065, 10061, 10050, 10056, 
    10044, 10069, 10066, 12671, 12672, 
    15779, 12673, 12674, 12675, 12676, 
    12677, 12678, 12679, 9687, 10024, 10025, 
    10026, 10027, 10028, 10029, 10030, 
    10031, 10032, 10033, 10034, 10035, 
    10036, 10037, 10038, 10039, 10040, 
    10756, 10757, 10758, 10397, 10398, 
    10399, 10400, 10401, 10402, 12700, 
    12546, 12633, 12573, 12548, 12580, 
    12576, 12565, 12567, 12549, 12581, 
    12557, 12558
  )

Query time 0.00026

JSON explain

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