Você pode usar o
between
função:delete from exampleTable where id between 40000 and 50000
ou:
delete from exampleTable where id >= 40000 and id <= 50000
bem simples?
between
função:delete from exampleTable where id between 40000 and 50000
delete from exampleTable where id >= 40000 and id <= 50000