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 (
    10456, 
    10455, 
    12702, 
    10446, 
    12579, 
    12580, 
    12700, 
    10444, 
    10443, 
    10442, 
    10441, 
    10440, 
    10439, 
    10438, 
    10437, 
    10436, 
    10435, 
    10434, 
    10433, 
    10432, 
    10431, 
    10430, 
    10429, 
    10428, 
    10427, 
    10426, 
    10425, 
    12564, 
    10424, 
    10423, 
    10422, 
    10421, 
    10420, 
    10419, 
    10418, 
    10417, 
    12856, 
    10416, 
    10415, 
    10414, 
    12855, 
    12854, 
    12853, 
    10412, 
    10411, 
    10410, 
    10409, 
    10408, 
    10407, 
    10406, 
    15781, 
    10405, 
    10404, 
    10403, 
    10402, 
    10401, 
    10400, 
    10399, 
    10398, 
    10397, 
    10395, 
    10394, 
    10393, 
    10392, 
    10390, 
    10389, 
    10388, 
    10387, 
    10386, 
    10384, 
    10383, 
    10382, 
    12679, 
    12678, 
    12677, 
    12676, 
    12675, 
    12674, 
    12673, 
    15779, 
    12672, 
    12671, 
    12994, 
    12993, 
    12992, 
    12991, 
    12990, 
    12989, 
    12988, 
    12987, 
    12986, 
    12985, 
    10343, 
    10345, 
    10346, 
    10347, 
    10348, 
    10349, 
    10323, 
    10350, 
    10370, 
    10324, 
    10351, 
    10371, 
    10325, 
    10352, 
    10372, 
    10305, 
    10326, 
    10353, 
    10373, 
    10306, 
    10327, 
    10354, 
    10374, 
    10307, 
    10328, 
    10355, 
    10375, 
    10308, 
    10329, 
    10356, 
    10376, 
    10309, 
    10330, 
    10357, 
    10377, 
    10310
  )

Query time 0.00076

JSON explain

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