According to Search Engine Journal, excessively long URLs may hurt search visibility. Small URLs are easier to recall than the longer ones, using small and sweet URLs for the targeted audience is a better option anytime.
URL Path: A page closer to the homepage may get a slight authority boost.
Keyword in URL: Another important relevancy signal.
URL String: The categories in the URL string are read by Google and may provide a thematic signal to what a page is about: