QUERY PLAN
Hash Join (cost=3.01..10.90 rows=1 width=12)
Hash Cond: (u.id = r.user_id)
-> Seq Scan on tbl_users u (cost=0.00..7.76 rows=24 width=4)
Filter: (user_status = '1'::type_global_user_status)
-> Hash (cost=2.99..2.99 rows=2 width=12)
-> Seq Scan on tbl_punch_leave_carbon_copy_rels r (cost=0.00..2.99 rows=2 width=12)
Filter: (punch_leave_id = 107)