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 (
    1097, 1057, 1058, 772, 768, 770, 774, 
    776, 777, 773, 769, 771, 775, 1117, 1116, 
    633, 1118, 1019, 563, 611, 1060, 544, 
    1069, 1068, 631, 1111, 632, 1112, 1062, 
    1101, 906, 1099, 831, 830, 1065, 1056, 
    1059, 543, 510, 1017, 779, 778, 1113, 
    1114, 1115, 1096, 1061, 1100
  )

Query time 0.00057

JSON explain

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