QUERY PLAN
Aggregate (cost=31.14..31.15 rows=1 width=32)
-> Seq Scan on tbl_sales_contract_payment_collection_remind_dates (cost=0.00..31.14 rows=1 width=6)
Filter: (contract_id = 4082)