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 ('{39171,39155,39148,39145,39142,27704,21473,21187,19134,18115,15578,38770,38405,38193,38112,37466,37223,37213,36992,33819}'::integer[])))