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 (
    104, 2593, 2711, 2710, 2693, 2709, 2976, 
    2735, 2694, 3187, 2990, 4735, 2991, 
    2989, 863, 1478, 1479, 781, 862, 3175, 
    7926, 1480, 1482, 2446, 1481, 6430, 
    6431, 7254, 7255, 4050, 4051, 4602, 
    4049, 4034, 4048, 4419, 4601, 4422, 
    4418, 4421, 4420, 4423, 4600, 5961, 
    5960, 5958, 5959, 5213, 621, 860, 619, 
    861, 5653, 59, 122, 5662, 61, 2992, 5663, 
    123, 63, 58, 121, 124, 62, 785, 784, 786, 
    782, 787, 783, 1511, 3586, 1924, 1773, 
    3665, 3666, 4625, 6421, 7262, 5971, 
    1727, 5957, 6422, 6423, 6424, 7252, 
    7253, 7250, 6717, 6719, 6718, 7251, 
    4614, 3869, 1772
  )

Query time 0.00057

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}