('a'=1 and 'b'=2) or ('c'=3 and 'd'=4) and 'e'=5
$where_1['a'] = 1; $where_1['b'] = 2; $where_2['c'] = 3; $where_2['d'] = 4; $where_main['_complex'] = array( $where_1, $where_2, '_logic' => 'or' ); $where_main['e'] = 5; $this->user->where($where_main)->select();