CREATE EVENT IF NOT EXISTS delete_every_5_min
ON SCHEDULE EVERY 10 MINUTE
STARTS CURRENT_TIMESTAMP
DO
delete FROM signalingserver.rooms
WHERE created_at > (NOW() - INTERVAL 10 MINUTE);
