SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    452, 451, 450, 449, 448, 447, 446, 445, 
    444, 443, 442, 394, 378, 377, 371, 369, 
    368, 362, 228, 219, 218, 217, 212, 211, 
    210, 209, 207, 206, 204
  )

Query time 0.00015

JSON explain

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