SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276524, 276525, 276526, 276527, 276528, 
    276529, 276530, 276531, 276532, 276533, 
    276534, 276535, 276536, 276537, 276538, 
    276539, 276540, 276541, 276542, 276543
  )

Query time 0.00040

JSON explain

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