SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    82, 142, 62, 141, 27, 22, 23, 17, 18, 56, 
    126, 51295, 117, 116, 115, 81, 11, 51326, 
    135, 106, 105, 58, 57, 51344, 120, 51345, 
    119, 108, 4, 5, 107, 51348, 121, 51349, 
    122, 51496, 51497, 51498
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00050

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 (82,142,62,141,27,22,23,17,18,56,126,51295,117,116,115,81,11,51326,135,106,105,58,57,51344,120,51345,119,108,4,5,107,51348,121,51349,122,51496,51497,51498)))",
      "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
11 100
17 32
18 34
22 8
23 19
27 4
56 103
57 35
58 35
62 20
81 31
105 25
106 22
107 17
108 10
115 7
116 3
117 13
119 27
120 25
121 22
122 30
126 108
135 6
141 11
142 12
51295 13
51326 6
51344 15
51345 20
51348 10
51349 30
51496 30
51497 30
51498 30