SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    276707, 276708, 276709, 276710, 276711, 
    276712, 276713, 276714, 276715, 276716, 
    277911, 51603, 119291, 243684, 275040, 
    277101, 277987
  )

Query time 0.00044

JSON explain

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