SELECT FROM_UNIXTIME(t.created_at), t.*
from table_name t
where (FROM_UNIXTIME(t.created_at) + interval 1 day) >= now()
$lines = $this->find()
->alias('t')
->where("(FROM_UNIXTIME(t.created_at) + interval :days day) >= now()", [
':days' => $day
])
->all();