SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51007, 51004, 51005, 51010, 51008, 51012, 
    51013, 51011, 51015, 51006, 51021, 
    51016, 51024, 51017, 51019, 51018, 
    51022, 51014, 51045, 51025, 51029, 
    51060, 51027, 51063, 51020, 51067, 
    51028, 51031, 51062, 51042, 51030, 
    51032, 51033, 51026, 51035, 51059, 
    51069, 51070, 51038, 51066, 51023, 
    51041, 51056, 51040, 51050, 51065, 
    51039, 51052, 51009, 51034, 51061, 
    51036, 51037, 51068, 51064, 51055, 
    51058, 51071
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "40.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": 58,
      "rows_produced_per_join": 58,
      "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 (51007,51004,51005,51010,51008,51012,51013,51011,51015,51006,51021,51016,51024,51017,51019,51018,51022,51014,51045,51025,51029,51060,51027,51063,51020,51067,51028,51031,51062,51042,51030,51032,51033,51026,51035,51059,51069,51070,51038,51066,51023,51041,51056,51040,51050,51065,51039,51052,51009,51034,51061,51036,51037,51068,51064,51055,51058,51071)))",
      "cost_info": {
        "read_cost": "34.81",
        "eval_cost": "5.80",
        "prefix_cost": "40.61",
        "data_read_per_join": "928"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
51004 2
51005 2
51006 2
51007 5
51008 5
51009 3
51010 1
51011 1
51012 1
51013 1
51014 1
51015 1
51016 2
51017 2
51018 2
51019 4
51020 5
51021 4
51022 4
51023 5
51024 4
51025 3
51026 5
51027 2
51028 3
51029 1
51030 1
51031 2
51032 2
51033 1
51034 1
51035 1
51036 1
51037 1
51038 1
51039 1
51040 2
51041 5
51042 5
51045 5
51050 5
51052 2
51055 5
51056 2
51058 3
51059 20
51060 20
51061 5
51062 4
51063 5
51064 5
51065 5
51066 5
51067 5
51068 3
51069 2
51070 2
51071 15