SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51480, 51479, 132, 3, 2, 66, 133, 51471, 
    51472, 51470, 51529, 51459, 51457, 
    51460, 51501, 51464, 51478, 51469, 
    51486, 51467, 51461, 51475, 51477, 
    51473, 51458, 51463, 51516, 51532, 
    51492, 51514, 51468, 51476, 51491, 
    51513, 51474, 51462, 51502, 51465, 
    51515, 51466, 51485, 51518, 51528, 
    51527, 51482, 51512, 51493, 51511, 
    51505, 51535
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.01"
    },
    "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": 50,
      "rows_produced_per_join": 50,
      "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 (51480,51479,132,3,2,66,133,51471,51472,51470,51529,51459,51457,51460,51501,51464,51478,51469,51486,51467,51461,51475,51477,51473,51458,51463,51516,51532,51492,51514,51468,51476,51491,51513,51474,51462,51502,51465,51515,51466,51485,51518,51528,51527,51482,51512,51493,51511,51505,51535)))",
      "cost_info": {
        "read_cost": "30.01",
        "eval_cost": "5.00",
        "prefix_cost": "35.01",
        "data_read_per_join": "800"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
2 70
3 8
66 9
132 53
133 10
51457 3
51458 4
51459 4
51460 4
51461 4
51462 4
51463 4
51464 4
51465 4
51466 4
51467 4
51468 4
51469 4
51470 4
51471 8
51472 6
51473 4
51474 4
51475 4
51476 1
51477 3
51478 4
51479 48
51480 47
51482 2
51485 1
51486 4
51491 1
51492 1
51493 3
51501 3
51502 3
51505 5
51511 5
51512 5
51513 5
51514 3
51515 3
51516 3
51518 7
51527 5
51528 5
51529 4
51532 10
51535 3