SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    10, 9, 142, 59, 60, 62, 141, 27, 22, 23, 
    14, 13, 17, 18, 16, 106, 105, 58, 57, 113, 
    51344, 120, 51345, 119, 51346, 118, 
    114, 4, 5, 6, 51348, 121, 51349, 122, 
    61, 51350, 123, 15
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.61"
    },
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "idx_storefront_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "destination_id",
        "storefront_id"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 38,
      "rows_produced_per_join": 38,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`storefront_id` = 1) and (`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`destination_id` = 116) and (`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`product_id` in (10,9,142,59,60,62,141,27,22,23,14,13,17,18,16,106,105,58,57,113,51344,120,51345,119,51346,118,114,4,5,6,51348,121,51349,122,61,51350,123,15)))",
      "cost_info": {
        "read_cost": "22.81",
        "eval_cost": "3.80",
        "prefix_cost": "26.61",
        "data_read_per_join": "608"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
4 15
5 13
6 29
9 36
10 38
13 20
14 29
15 31
16 23
17 32
18 34
22 8
23 19
27 4
57 35
58 35
59 14
60 29
61 12
62 20
105 25
106 22
113 37
114 25
118 20
119 27
120 25
121 22
122 30
123 21
141 11
142 12
51344 15
51345 20
51346 10
51348 10
51349 30
51350 20