Who cares about ghetto if you’re renting it out? Tenants are just ATMs on the hoof. The only consideration in buying a rental are expenses, rent, and ease of finding tenants. No need for it to be a palace.
I don’t see any 1/1 condos in 92126 over $225k, by the way. Anything approaching $300k is a 2/2.
Even 92104/92116 has some 1/1 inventory in the low 200s.