QUERY PLAN
Aggregate (cost=50.67..50.68 rows=1 width=32)
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..50.66 rows=1 width=6)
Filter: (contract_id = 4453)