QUERY PLAN
GroupAggregate (cost=534.93..535.15 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=534.93..534.96 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..534.74 rows=11 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{39169,39021,38850,38633,38507,38364,38265,38091,37916,37764}'::integer[])))