SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    286, 278, 280, 282, 247, 248, 241, 244, 
    245, 246, 240, 6, 66, 166, 214, 219, 221, 
    223, 192, 194, 195, 196, 197, 198
  )

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}