SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276517, 276518, 276519, 276520, 276521, 
    276522, 276523, 276524, 276525, 276526, 
    276527, 276528, 276529, 276530, 276531, 
    276532, 276533, 276534, 276535, 276536
  )

Query time 0.00027

JSON explain

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