SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    21196, 21194, 21192, 21193, 21195, 21191, 
    21206, 21262, 21264, 21266, 21238, 
    21265, 21203, 21240, 21242, 21204, 
    21239, 21205, 21219, 21269, 21218, 
    21270, 21243, 21216
  ) 
  AND destination_id = 115 
  AND storefront_id = 0

Query time 0.00065

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_storefront_id"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["product_id", "destination_id", "storefront_id"],
      "rows": 24,
      "filtered": 75,
      "index_condition": "cscart_warehouses_destination_products_amount.destination_id = 115 and cscart_warehouses_destination_products_amount.storefront_id = 0 and cscart_warehouses_destination_products_amount.product_id in (21196,21194,21192,21193,21195,21191,21206,21262,21264,21266,21238,21265,21203,21240,21242,21204,21239,21205,21219,21269,21218,21270,21243,21216)"
    }
  }
}

Result

product_id amount
21191 1
21192 10
21193 10
21194 9
21195 12
21196 15
21203 2
21204 3
21205 3
21206 4
21216 1
21218 2
21219 1
21238 3
21239 1
21240 1
21242 4
21243 4
21262 9
21264 1
21265 3
21266 2
21269 1
21270 2