More time() in SQL queries replace with UNIX_TIMESTAMP()