Two hours is a good length of time for a five-year-old's party. There's nothing wrong with making it shorter or longer, of course. But if you go over two hours you may want to introduce some quieter games near the end to keep the children from burning out.