QUERY PLAN
Sort (cost=75.69..75.72 rows=12 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..75.48 rows=12 width=22)
Filter: (purchase_invoice_id = ANY ('{1213,1215,1396,1430,1571,1713,1833,2298,2411,2750}'::integer[]))