QUERY PLAN
GroupAggregate (cost=376.64..377.02 rows=19 width=36)
Group Key: work_log_id
-> Sort (cost=376.64..376.69 rows=19 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..376.24 rows=19 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{35860,35859,35858,35857,35856,35855,35854,36978,36980,37009,37011,37008,37012,37007,37013,37019,37020}'::integer[])))