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 (
    9846, 9845, 9860, 9859, 9858, 9857, 9852, 
    9861, 9862, 9847, 9863, 9856, 9855, 
    9838, 9849, 9850, 9853, 9842, 9851, 
    9854, 10263, 10264, 10265, 10266, 10267, 
    10268, 10269, 10270, 10271, 10272, 
    10273, 15943, 15951, 15952, 15956, 
    15958, 15959, 15944, 15960, 15961, 
    15962, 15966, 15957, 15965, 15945, 
    15938, 15968, 15946, 15947, 15949, 
    15950, 12520, 12497, 12528, 12512, 
    12511, 12527, 10580, 10579, 9936, 9931, 
    12521, 12504, 12502
  )

Query time 0.00018

JSON explain

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