QUERY PLAN
Sort (cost=1.10..1.11 rows=3 width=16)
Sort Key: created_at DESC, id DESC
-> Seq Scan on tbl_purchase_contracts (cost=0.00..1.07 rows=3 width=16)
Filter: ((created_by = 5495) AND (cost_type = 1))