grazie
ho fatto così e mi sembra una buona soluzione

DELETE FROM annunci WHERE DATEDIFF(NOW(), data) > 30