select * from tabella1 where e = x and a not in (Select a from tabella2)

query annidtaa,, se la tua verisone di mysql le supporta..

prova