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 (
    12546, 12633, 12573, 12548, 12580, 12576, 
    12565, 12567, 12549, 12581, 12557, 
    12558, 12570, 12568, 12547, 12569, 
    12584, 12592, 12575, 12574, 12550, 
    12544, 12564, 12577, 12579, 12555, 
    12560, 12556, 12561, 12572, 12583, 
    12591, 12582, 12590, 12571, 12632, 
    12631, 15938, 12638, 12599, 12627, 
    12600, 12639, 15800, 12616, 12601, 
    12628, 12602, 12640, 12647, 12605, 
    12606, 12637, 12612, 12613, 12641, 
    12642, 12648, 12611, 12596, 12607, 
    12608, 12610, 12643
  )

Query time 0.00050

JSON explain

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