QUERY PLAN
Nested Loop (cost=0.14..21.78 rows=1 width=12)
-> Seq Scan on tbl_punch_leave_carbon_copy_rels r (cost=0.00..4.84 rows=2 width=12)
Filter: (punch_leave_id = 148)
-> Index Scan using tbl_users_pkey on tbl_users u (cost=0.14..8.16 rows=1 width=4)
Index Cond: (id = r.user_id)
Filter: (user_status = '1'::type_global_user_status)