SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    128, 51118, 51117, 51116, 51115, 51114, 
    51113, 51165, 51164, 51163, 51162, 
    51161, 52, 51183, 20, 51188, 51187, 
    51186, 51185, 51184, 51194, 51193, 
    51192, 51191, 51190, 51189, 19, 51201, 
    51200, 51199, 51198, 51197, 51196, 
    51195, 131, 51211, 51210, 111, 51212, 
    144, 51215, 51214, 51213, 51444, 51445, 
    51446, 51447, 51220, 51219, 51218, 
    51217, 51216, 146, 51448, 51449, 51231, 
    51230, 51229, 51228, 51227, 51226, 
    51225, 109, 51243, 51242, 51241, 51240, 
    51239, 36, 51253, 51252, 51251, 51250, 
    51249, 34, 51273, 147, 51277, 51276, 
    51275, 51274, 9, 59, 60, 13, 51346, 118, 
    114, 84, 51347, 85, 61, 51350, 123, 15, 
    95, 51352, 51351, 96, 89, 51390, 51391, 
    51392, 51393, 51394
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00077

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "73.51"
    },
    "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": 105,
      "rows_produced_per_join": 105,
      "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 (128,51118,51117,51116,51115,51114,51113,51165,51164,51163,51162,51161,52,51183,20,51188,51187,51186,51185,51184,51194,51193,51192,51191,51190,51189,19,51201,51200,51199,51198,51197,51196,51195,131,51211,51210,111,51212,144,51215,51214,51213,51444,51445,51446,51447,51220,51219,51218,51217,51216,146,51448,51449,51231,51230,51229,51228,51227,51226,51225,109,51243,51242,51241,51240,51239,36,51253,51252,51251,51250,51249,34,51273,147,51277,51276,51275,51274,9,59,60,13,51346,118,114,84,51347,85,61,51350,123,15,95,51352,51351,96,89,51390,51391,51392,51393,51394)))",
      "cost_info": {
        "read_cost": "63.01",
        "eval_cost": "10.50",
        "prefix_cost": "73.51",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
9 36
13 20
15 31
19 3
20 2
34 3
36 3
52 2
59 14
60 29
61 12
84 18
85 70
89 8
95 13
96 4
109 3
111 1
114 25
118 20
123 21
128 3
131 2
144 4
146 4
147 2
51113 2
51114 2
51115 3
51116 2
51117 2
51118 1
51161 2
51162 3
51163 1
51164 1
51165 1
51183 1
51184 3
51185 5
51186 4
51187 2
51188 2
51189 3
51190 6
51191 6
51192 6
51193 3
51194 2
51195 2
51196 4
51197 4
51198 3
51199 3
51200 3
51201 1
51210 0
51211 0
51212 1
51213 5
51214 3
51215 3
51216 4
51217 6
51218 4
51219 3
51220 3
51225 2
51226 5
51227 5
51228 2
51229 2
51230 1
51231 2
51239 3
51240 2
51241 2
51242 2
51243 1
51249 3
51250 2
51251 3
51252 1
51253 2
51273 4
51274 5
51275 2
51276 2
51277 1
51346 10
51347 46
51350 20
51351 6
51352 2
51390 8
51391 6
51392 7
51393 3
51394 1
51444 5
51445 1
51446 3
51447 2
51448 6
51449 2