QUERY PLAN
Sort (cost=15.48..15.49 rows=3 width=30)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..15.46 rows=3 width=30)
Filter: (contract_id = ANY ('{2364,4122,4017}'::integer[]))