SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276544, 276545, 276546, 276547, 276548, 
    276549, 276550, 276551, 276552, 276553, 
    276572, 276573, 276574, 276575, 276588, 
    276589, 276590, 276591, 276592, 276593
  )

Query time 0.00034

JSON explain

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