QUERY PLAN
Limit (cost=303.96..304.01 rows=20 width=154)
-> Sort (cost=303.96..304.80 rows=337 width=154)
Sort Key: c.created_at DESC
-> Hash Left Join (cost=144.06..294.99 rows=337 width=154)
Hash Cond: (c.client_id = client.id)
-> Seq Scan on tbl_contacts c (cost=0.00..150.05 rows=337 width=150)
Filter: ((client_id IS NOT NULL) AND (user_status = 1))
-> 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)