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 ('{35091,34458,33727,32992,31818,31581,31342,31115,30088,29884}'::integer[])))