SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276497, 276498, 276499, 276500, 276501, 
    276502, 276503, 276504, 276505, 276506, 
    276507, 276508, 276509, 276510, 276511, 
    276512, 276513, 276514, 276515, 276516
  )

Query time 0.00034

JSON explain

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