QUERY PLAN
GroupAggregate (cost=314.82..315.04 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=314.82..314.85 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..314.63 rows=11 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{21187,19134,18115,36992,32391,24867,20392,20012,19237,31558}'::integer[])))