QUERY PLAN
Limit (cost=381.00..381.05 rows=20 width=154)
-> Sort (cost=381.00..389.44 rows=3376 width=154)
Sort Key: c.created_at DESC
-> Hash Left Join (cost=144.06..291.17 rows=3376 width=154)
Hash Cond: (c.client_id = client.id)
-> Seq Scan on tbl_contacts c (cost=0.00..138.24 rows=3376 width=150)
Filter: (client_id IS NOT NULL)
-> Hash (cost=119.58..119.58 rows=1958 width=8)
-> Seq Scan on tbl_clients client (cost=0.00..119.58 rows=1958 width=8)