QUERY PLAN
GroupAggregate (cost=481.00..481.46 rows=23 width=36)
Group Key: work_log_id
-> Sort (cost=481.00..481.06 rows=23 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..480.48 rows=23 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{39163,39167,39165,39162,39161,39160,39159,39140,21704,21551,21433,20678,20677,19578,19475,18810,18718,18220,18221,17921}'::integer[])))