QUERY PLAN
Nested Loop Left Join (cost=0.14..9.40 rows=1 width=261)
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=224)
Index Cond: (id = 1001)
-> Seq Scan on tbl_enterprises e (cost=0.00..1.10 rows=10 width=64)