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 (
    1401, 1402, 1403, 1384, 727, 729, 726, 
    1583, 251, 237, 238, 373, 372, 339, 365, 
    236, 786, 381, 389, 1914, 1321, 1368, 
    1877, 1876, 1878, 1806, 1794, 1807, 
    1884, 1886, 1889, 1890, 1881, 1879, 
    1880, 1882, 1888, 1871, 1887, 715, 714, 
    1485, 1915, 345, 1451, 1183, 18, 17
  )

Query time 0.00063

JSON explain

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