$this->db->where( [ 'unix_timestamp(from_unixtime(date_expired) + interval 1 day) <=' => $time, 'status' => 'expired', 'server' => $sg_01 ] );