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 (
    982, 981, 983, 828, 421, 647, 315, 624, 
    937, 1131, 671, 670, 42, 43, 1051, 936, 
    935, 599, 900, 44, 404, 835, 836, 1263, 
    322, 311, 312, 744, 742, 837, 537, 839, 
    621, 1048, 1049, 1014, 575, 1034, 1243, 
    1073, 1295, 497, 704, 700, 702, 705, 
    709, 698
  )

Query time 0.00060

JSON explain

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