QUERY PLAN
GroupAggregate (cost=375.83..376.05 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=375.83..375.86 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..375.64 rows=11 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{39158,39157,21551,20700,19578,19475,18718,18220,17730,17462}'::integer[])))