QUERY PLAN
Aggregate (cost=19.71..19.72 rows=1 width=32)
-> Seq Scan on tbl_sales_contract_payment_collection_remind_dates (cost=0.00..19.70 rows=1 width=6)
Filter: (contract_id = 3830)