SELECT trnemailaddress, activedate FROM `customer-trans` WHERE (UNIX_TIMESTAMP(activedate) + ? ) < (UNIX_TIMESTAMP(NOW()));