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 (
    1557, 1556, 1555, 1554, 1553, 1551, 1549, 
    1546, 1545, 1544, 1543, 1542, 1541, 
    1540, 1539, 1538, 1537, 1512, 1534, 
    1533, 1515, 1532, 1531, 1530, 1529, 
    1528, 1527, 1526, 1508, 1525, 1524, 
    1509, 1523, 1522, 1521, 1520, 1519, 
    1518, 1517, 1516, 1277, 1494, 1507, 
    1499, 1505, 1504, 1503, 1502
  )

Query time 0.00057

JSON explain

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