QUERY PLAN
Sort (cost=72.01..72.02 rows=4 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..71.97 rows=4 width=22)
Filter: (purchase_invoice_id = ANY ('{566,598,681,683}'::integer[]))