QUERY PLAN
Limit (cost=24.27..24.27 rows=1 width=79)
-> Sort (cost=24.27..24.27 rows=1 width=79)
Sort Key: created_at DESC
-> Group (cost=24.25..24.26 rows=1 width=79)
Group Key: id
-> Sort (cost=24.25..24.25 rows=1 width=79)
Sort Key: id
-> Seq Scan on tbl_client_documents cd (cost=0.00..24.24 rows=1 width=79)
Filter: (project_id = 3950)