QUERY PLAN
Sort (cost=5.18..5.19 rows=1 width=47)
Sort Key: created_at DESC
-> Group (cost=5.17..5.17 rows=1 width=47)
Group Key: id
-> Sort (cost=5.17..5.17 rows=1 width=47)
Sort Key: id
-> Seq Scan on tbl_task_groups s (cost=0.00..5.16 rows=1 width=47)
Filter: ((project_id = 3805) AND (client_id = 2815))