QUERY PLAN
Sort (cost=22.80..22.81 rows=6 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..22.72 rows=6 width=34)
Filter: (contract_id = ANY ('{4501,4475,4463,1213,1234,1018}'::integer[]))