You can choose to eat before or after the show, but with the 5pm show, you'll probably be eating after since some places don't start dinner until 4pm.
The show lasts approximately 40 minutes, so factor that in plus time to walk to your restaurant through the crowds that will undoubtedly be there....
We have the 5:00 show with 6:30 dinner at Marakesh. Show will let out around 5:40/5:45 and we'll have time to let the kids run off a little energy before we sit back down at the table for dinner. Not much travel time to factor in between the theater and Marakesh... Will check in at the restaurant around 6:15....
HTH
Katie