mysql delete from table where id in another table