QUERY PLAN
Aggregate (cost=161.06..161.07 rows=1 width=8)
-> Sort (cost=157.97..158.48 rows=206 width=2971)
Sort Key: c.created_at DESC
-> Seq Scan on tbl_contacts c (cost=0.00..150.05 rows=206 width=2971)
Filter: ((client_id IS NOT NULL) AND (created_by = 1005))