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 (
    9825, 9826, 9827, 9828, 9829, 9830, 15732, 
    9797, 9798, 9799, 9800, 9801, 9802, 
    9803, 9804, 9805, 9806, 9807, 9808, 
    9809, 9810, 9811, 9812, 9775, 9776, 
    9777, 9778, 9779, 9780, 9781, 9782, 
    9783, 9784, 9785, 9786, 9787, 9788, 
    9790, 9791, 9792, 9795, 12561, 12560, 
    9683, 9685, 9686, 9687, 9688, 9689, 
    9690, 12544, 12546, 12547, 12548, 12549, 
    12550, 12555, 12556, 12557, 12558, 
    12559, 12576, 12577, 12578
  )

Query time 0.00046

JSON explain

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