SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276513, 276514, 276515, 276516, 276517, 
    276518, 276519, 276520, 276521, 276522, 
    276523, 276524, 276525, 276526, 276527, 
    276528, 276529, 276530, 276531, 276532
  )

Query time 0.00021

JSON explain

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