QUERY PLAN
GroupAggregate (cost=492.71..492.85 rows=7 width=36)
Group Key: work_log_id
-> Sort (cost=492.71..492.72 rows=7 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..492.61 rows=7 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{39136,38981,38874,38733,38561,38386}'::integer[])))