select user_id from activate_user where user_id = :$user_id and activation_hash = :$activation_hash and expires > now()