QUERY PLAN
Sort (cost=13.44..13.44 rows=1 width=43)
Sort Key: created_at DESC
-> Group (cost=13.42..13.43 rows=1 width=43)
Group Key: id
-> Sort (cost=13.42..13.43 rows=1 width=43)
Sort Key: id
-> Seq Scan on tbl_task_groups s (cost=0.00..13.41 rows=1 width=43)
Filter: ((project_id = 4176) AND (client_id = 3464))