For play dates with kids that young it’s super easy to blame it on the kid!
“We’d love to see you from 10-noon. Larlo needs a little time to wind down before nap.”
If while they’re at the play date it’s 12:05 and they’ve made no move to leave, you say:
“It was so nice to have you guys over, let’s do this again soon!” And you start cleaning up. “We need to get started with lunch and a little quiet time before naps.” Smile and that’s it. Or if it’s an afternoon play date, you have to start dinner at 5pm (invite the at 3pm.)