SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    130, 51106, 51107, 51112, 51111, 51110, 
    51109, 51108, 51182, 51181, 51180, 
    51179, 51178, 51177, 93, 10, 51232, 
    12, 51238, 51237, 51236, 51235, 51234, 
    51233, 51246, 51245, 51244, 35, 51248, 
    51247, 51256, 51255, 51254, 33, 51257, 
    32, 51258, 51265, 51264, 51263, 51262, 
    51261, 51260, 51259, 110, 51281, 51280, 
    51279, 51278, 51282, 7, 54, 51313, 51312, 
    51314, 51311, 51310
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00067

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "39.91"
    },
    "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": 57,
      "rows_produced_per_join": 57,
      "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 (130,51106,51107,51112,51111,51110,51109,51108,51182,51181,51180,51179,51178,51177,93,10,51232,12,51238,51237,51236,51235,51234,51233,51246,51245,51244,35,51248,51247,51256,51255,51254,33,51257,32,51258,51265,51264,51263,51262,51261,51260,51259,110,51281,51280,51279,51278,51282,7,54,51313,51312,51314,51311,51310)))",
      "cost_info": {
        "read_cost": "34.21",
        "eval_cost": "5.70",
        "prefix_cost": "39.91",
        "data_read_per_join": "912"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
7 2
10 38
12 3
32 1
33 2
35 3
54 3
93 1
110 3
130 2
51106 1
51107 3
51108 3
51109 2
51110 2
51111 1
51112 1
51177 1
51178 1
51179 1
51180 1
51181 0
51182 1
51232 5
51233 6
51234 3
51235 2
51236 3
51237 1
51238 1
51244 6
51245 6
51246 2
51247 2
51248 2
51254 2
51255 1
51256 2
51257 0
51258 0
51259 4
51260 8
51261 5
51262 2
51263 4
51264 3
51265 3
51278 4
51279 5
51280 3
51281 2
51282 1
51310 3
51311 4
51312 4
51313 5
51314 3