SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    277, 139, 179, 111, 213, 216, 233, 225, 
    129, 131, 257, 135
  ) 
  AND destination_id = 12 
  AND storefront_id = 2

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}