QUERY PLAN
Aggregate (cost=37.55..37.56 rows=1 width=8)
-> Seq Scan on tbl_tasks (cost=0.00..37.55 rows=4 width=4)
Filter: ((task_group_id = 192) AND (status = 1))