SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    4896, 4381, 4361, 4822, 4347, 4343, 4713, 
    4714, 4684, 4718, 4717, 4685, 4715, 
    4716, 5093, 5092, 4804, 5341, 5340, 
    4346, 5206, 4421, 4382, 4780
  ) 
  AND destination_id = 115 
  AND storefront_id = 0

Query time 0.00528

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": 24,
      "filtered": 75,
      "index_condition": "cscart_warehouses_destination_products_amount.destination_id = 115 and cscart_warehouses_destination_products_amount.storefront_id = 0 and cscart_warehouses_destination_products_amount.product_id in (4896,4381,4361,4822,4347,4343,4713,4714,4684,4718,4717,4685,4715,4716,5093,5092,4804,5341,5340,4346,5206,4421,4382,4780)"
    }
  }
}

Result

product_id amount
4343 3
4346 1
4347 3
4361 3
4381 3
4382 7
4421 3
4684 1
4685 1
4713 5
4714 6
4715 1
4716 3
4717 3
4718 3
4780 4
4804 1
4822 2
4896 1
5092 1
5093 1
5206 1
5340 1
5341 1