QUERY PLAN
Nested Loop (cost=0.00..23.44 rows=1 width=250)
Join Filter: ((a.item_name)::text = (b.name)::text)
-> Seq Scan on tbl_auth_items b (cost=0.00..7.85 rows=7 width=250)
Filter: (type = 1)
-> Materialize (cost=0.00..15.38 rows=2 width=146)
-> Seq Scan on tbl_auth_assignments a (cost=0.00..15.38 rows=2 width=146)
Filter: (user_id = 5493)