SELECT * FROM (`users`) WHERE `users`.`activated` = 0 AND UNIX_TIMESTAMP(`users`.`created`) < 1271370014
$this->where('activated', 0); $this->where_func('UNIX_TIMESTAMP', array('@created'), $max_time);
SELECT * FROM (`users`) WHERE `users`.`activated` = 0 AND UNIX_TIMESTAMP(`users`.`created`) = 1271370014