SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51194, 51193, 51192, 51191, 51190, 51189, 
    19, 51211, 51210, 111, 51212, 144, 51215, 
    51214, 51213, 51444, 51445, 51446, 
    51447, 51220, 51219, 51218, 51217, 
    51216, 146, 51448, 51449, 9, 59, 60, 
    13, 51347, 85, 61, 51350, 123, 15, 95
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00047

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 (51194,51193,51192,51191,51190,51189,19,51211,51210,111,51212,144,51215,51214,51213,51444,51445,51446,51447,51220,51219,51218,51217,51216,146,51448,51449,9,59,60,13,51347,85,61,51350,123,15,95)))",
      "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
9 36
13 20
15 31
19 3
59 14
60 29
61 12
85 70
95 13
111 1
123 21
144 4
146 4
51189 3
51190 6
51191 6
51192 6
51193 3
51194 2
51210 0
51211 0
51212 1
51213 5
51214 3
51215 3
51216 4
51217 6
51218 4
51219 3
51220 3
51347 46
51350 20
51444 5
51445 1
51446 3
51447 2
51448 6
51449 2