QUERY PLAN
Sort (cost=5.23..5.23 rows=1 width=46)
Sort Key: created_at DESC
-> Group (cost=5.21..5.22 rows=1 width=46)
Group Key: id
-> Sort (cost=5.21..5.21 rows=1 width=46)
Sort Key: id
-> Seq Scan on tbl_task_groups s (cost=0.00..5.20 rows=1 width=46)
Filter: ((project_id = 3926) AND (client_id = 3383))