I would imagine item ID ranges would more or less line up with expansions, so you may be able to use a query like that to figure out the lowest and highest item id for each expansion, which would make for much faster queries once you've got the list.
|