Hi Everybody!

I was cruising through my slow query log earlier and one of my larger queries occurs in the log file occasionally. So I'm trying to work to optimize it a bit. One part of the query that I was pretty sure was going to be bad when I wrote it is a long OR statement.

This is preceded by a couple of AND statements. There could possibly be several hundred of these 'OR's
Code:
( sitedone_dealer.inventory.id = '0'  OR sitedone_dealer.inventory.id = '36'  OR sitedone_dealer.inventory.id = '58'  OR 
sitedone_dealer.inventory.id = '59'  OR sitedone_dealer.inventory.id = '60'  OR sitedone_dealer.inventory.id = '61'  OR 
sitedone_dealer.inventory.id = '62'  OR sitedone_dealer.inventory.id = '63'  OR sitedone_dealer.inventory.id = '64'  OR 
sitedone_dealer.inventory.id = '65'  OR sitedone_dealer.inventory.id = '66'  OR sitedone_dealer.inventory.id = '67'  OR 
sitedone_dealer.inventory.id = '68'  OR sitedone_dealer.inventory.id = '69'  OR sitedone_dealer.inventory.id = '70'  OR 
sitedone_dealer.inventory.id = '71'  OR sitedone_dealer.inventory.id = '72'  OR sitedone_dealer.inventory.id = '73'  OR 
sitedone_dealer.inventory.id = '74'  OR sitedone_dealer.inventory.id = '75'  OR sitedone_dealer.inventory.id = '76'  OR 
sitedone_dealer.inventory.id = '77'  OR sitedone_dealer.inventory.id = '78'  OR sitedone_dealer.inventory.id = '79'  OR 
sitedone_dealer.inventory.id = '80'  OR sitedone_dealer.inventory.id = '81'  OR sitedone_dealer.inventory.id = '82'  OR sitedone_dealer.inventory.id = '83'  OR sitedone_dealer.inventory.id = '84'  OR sitedone_dealer.inventory.id = '85'  OR sitedone_dealer.inventory.id = '86'  OR sitedone_dealer.inventory.id = '87'  OR sitedone_dealer.inventory.id = '88'  OR sitedone_dealer.inventory.id = '89'  OR sitedone_dealer.inventory.id = '90'  OR sitedone_dealer.inventory.id = '91'  OR sitedone_dealer.inventory.id = '92'  OR sitedone_dealer.inventory.id = '94'  OR sitedone_dealer.inventory.id = '95'  OR sitedone_dealer.inventory.id = '96'  OR sitedone_dealer.inventory.id = '97'  OR sitedone_dealer.inventory.id = '98'  OR sitedone_dealer.inventory.id = '99'  OR sitedone_dealer.inventory.id = '100'  OR sitedone_dealer.inventory.id = '102'  OR sitedone_dealer.inventory.id = '103'  OR sitedone_dealer.inventory.id = '104'  OR sitedone_dealer.inventory.id = '105'  OR sitedone_dealer.inventory.id = '106'  OR sitedone_dealer.inventory.id = '107'  OR sitedone_dealer.inventory.id = '108'  OR sitedone_dealer.inventory.id = '109'  OR sitedone_dealer.inventory.id = '110'  OR sitedone_dealer.inventory.id = '111'  OR sitedone_dealer.inventory.id = '164'  OR sitedone_dealer.inventory.id = '167'  OR sitedone_dealer.inventory.id = '198'  OR sitedone_dealer.inventory.id = '199'  OR sitedone_dealer.inventory.id = '200'  OR sitedone_dealer.inventory.id = '202'  OR sitedone_dealer.inventory.id = '203'  OR sitedone_dealer.inventory.id = '204'  OR sitedone_dealer.inventory.id = '205'  OR sitedone_dealer.inventory.id = '206'  OR sitedone_dealer.inventory.id = '207'  OR sitedone_dealer.inventory.id = '208'  OR sitedone_dealer.inventory.id = '209'  OR sitedone_dealer.inventory.id = '210'  OR sitedone_dealer.inventory.id = '211'  OR sitedone_dealer.inventory.id = '212'  OR sitedone_dealer.inventory.id = '213'  OR sitedone_dealer.inventory.id = '214'  OR sitedone_dealer.inventory.id = '215'  OR sitedone_dealer.inventory.id = '216'  OR sitedone_dealer.inventory.id = '217'  OR sitedone_dealer.inventory.id = '218'  )
Would this portion of the query be better served by something like this?

Code:
OR sitedone_dealer.inventory.id IN(1,4,6,87,34,23,676,9877,45,23,....etc)

I'm open to any suggestion or advice.

Thanks in advance for any guidance!