Dalun says to YSITD select labeld, last_access from tbl where TIMESTAMPDIFF(last_access, NOW()) < TTL