SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276475, 276476, 276477, 276478, 276497, 
    276498, 276499, 276500, 276501, 276502, 
    276503, 276504, 276505, 276506, 276507, 
    276508, 276509, 276510, 276511, 276512
  )

Query time 0.00051

JSON explain

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