QUERY PLAN
Sort (cost=72.03..72.04 rows=5 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..71.97 rows=5 width=22)
Filter: (purchase_invoice_id = ANY ('{2742,2743,2748,2752}'::integer[]))