QUERY PLAN
Limit (cost=32.40..32.42 rows=10 width=77)
-> Sort (cost=32.40..32.44 rows=15 width=77)
Sort Key: created_at DESC
-> Group (cost=32.03..32.11 rows=15 width=77)
Group Key: id
-> Sort (cost=32.03..32.07 rows=15 width=77)
Sort Key: id
-> Seq Scan on tbl_client_documents cd (cost=0.00..31.74 rows=15 width=77)
Filter: (client_id = 93)