delete from tusermodules where idUserModule in(
select idUserModule from(
SELECT idUserModule
FROM tusermodules 
where idModule =25
and idUser <>1
and idUser <>16
order by idUser) as borrar) 