QUERY PLAN
GroupAggregate (cost=503.26..503.42 rows=8 width=36)
Group Key: work_log_id
-> Sort (cost=503.26..503.28 rows=8 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..503.14 rows=8 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{35860,35859,35858,35857,35856,35855,35854}'::integer[])))