SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    2822, 2244, 2245, 2808, 2351, 2352, 2342, 
    2270, 2843, 2225, 2323, 2266, 13822, 
    2813, 2814, 13821, 4378, 2550, 2551, 
    13142, 15143, 15144, 12684, 14457, 
    2176, 2171, 2169, 2168, 2167, 2165
  ) 
  AND destination_id = 12 
  AND storefront_id = 0

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_storefront_id"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["product_id", "destination_id", "storefront_id"],
      "rows": 30,
      "filtered": 100,
      "index_condition": "cscart_warehouses_destination_products_amount.destination_id = 12 and cscart_warehouses_destination_products_amount.storefront_id = 0 and cscart_warehouses_destination_products_amount.product_id in (2822,2244,2245,2808,2351,2352,2342,2270,2843,2225,2323,2266,13822,2813,2814,13821,4378,2550,2551,13142,15143,15144,12684,14457,2176,2171,2169,2168,2167,2165)"
    }
  }
}

Result

product_id amount
2165 1
2167 1
2168 2
2169 3
2171 0
2176 2
2225 7
2244 19
2245 2
2266 7
2270 12
2323 0
2342 0
2351 0
2352 0
2550 18
2551 4
2808 2
2813 0
2814 6
2822 69
2843 0
4378 1608
12684 4