Height is indeed important if you’re average looking. Yes if you’re too short it’s more noticeable, but if you have an extremely average face it will boost your SMV.
Even cardio with some light weight training is enough. Being tall and having a good looking face is more important that muscles for physical attraction.
More chance getting a girlfriend if you do a balance routine of cardio activities and some gym work while improving your personality to join social groups. But first she needs to find you attractive enough to date,