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 (
    15943, 15951, 15952, 15956, 15958, 15959, 
    15944, 15960, 15961, 15962, 15966, 
    15957, 15965, 15945, 15968, 15946, 
    15947, 15949, 15950, 12520, 12497, 
    12528, 12512, 12511, 12527, 10580, 
    10579, 9936, 9931, 12521, 12504, 12502, 
    12505, 13099, 12514, 12513, 9759, 10496, 
    10560, 10561, 10581, 10102, 9940, 10578, 
    10143, 9947, 10567, 10568, 10565, 9933, 
    12499, 12500, 10200, 10201, 10566, 
    10545, 10227, 10552, 12506, 10693, 
    12508, 9953, 12522, 12507
  )

Query time 0.00078

JSON explain

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