why don't you input half your Id in one query and then save that as a temp table then run the other half of Ids as another query and save them into another temp table then union them ?
What version of SQL Server are you on? On 2012+ you can you the Offset Fetch clause to batch rows (although how much better this will be depends a lot on what your query actually does)