Sprawdź rekordy starsze niż 10 dni
SELECT * FROM photo WHERE DATE(date_created) < DATE_SUB(CURDATE(), INTERVAL 10 DAY);
Wassi
SELECT * FROM photo WHERE DATE(date_created) < DATE_SUB(CURDATE(), INTERVAL 10 DAY);