change UNIX_TIMESTAMP by NV_CURRENTTIME in SQL
optimize structure for table database