QUERY PLAN
Nested Loop Left Join (cost=0.14..9.19 rows=1 width=296)
Join Filter: (u.enterprise_id = e.id)
-> Index Scan using tbl_logins_pkey on tbl_logins u (cost=0.14..8.16 rows=1 width=259)
Index Cond: (id = 5499)
-> Seq Scan on tbl_enterprises e (cost=0.00..1.01 rows=1 width=29)