You can use OR in the inventoryItems query for multiple IDs.
You then apply the location at the inventory level, where you can then specify the inventory states as well.
query InventoryItemList {
inventoryItems(first: 20, query: "id:30322695 OR id:X") {
edges {
node {
id
inventoryLevel(locationId: "123") {
quantities(names: ["available"]) {
quantity
}
}
}
}
}
}