QUERY PLAN
Sort (cost=7.23..7.24 rows=1 width=26)
Sort Key: r.id
-> Merge Join (cost=4.33..7.22 rows=1 width=26)
Merge Cond: (u.id = r.user_id)
-> Index Scan using tbl_users_pkey on tbl_users u (cost=0.14..34.58 rows=24 width=4)
Filter: (user_status = '1'::type_global_user_status)
-> Sort (cost=4.19..4.19 rows=1 width=26)
Sort Key: r.user_id
-> Seq Scan on tbl_punch_leave_verify_rels r (cost=0.00..4.18 rows=1 width=26)
Filter: (punch_leave_id = 176)