QUERY PLAN
Result (cost=84.76..84.77 rows=1 width=1)
InitPlan 1 (returns $0)
-> Seq Scan on tbl_cases (cost=0.00..254.28 rows=3 width=0)
Filter: (contact_id = 6012)