QUERY PLAN
Sort (cost=13.62..13.63 rows=4 width=30)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..13.58 rows=4 width=30)
Filter: (contract_id = ANY ('{4073,4042,4041,4025}'::integer[]))