QUERY PLAN
Seq Scan on tbl_purchase_invoice_reminders (cost=0.00..1.41 rows=10 width=12)
Filter: (purchase_invoice_id = ANY ('{1989,1876,1872,2029,2018,2042,2031,2039,2016,2013,1877,1946,1908,1878,1934,1932,1979}'::integer[]))