QUERY PLAN
GroupAggregate (cost=312.22..312.44 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=312.22..312.25 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..312.03 rows=11 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{28631,28030,27704,21474,15709,15578,33819,24988,24225,24216}'::integer[])))