"Who is ugly?"
생기다 almost always conjugates to past but can mean that thing is still "happening". So here, that person was already ugly and is still ugly.
Because if you want to use the -니다 form (formal polite) there's a separate ending for interrogative sentences. It's -니까?. So translating this sentence to formal polite would be: 누가 못생겼습니까?