Why are my CiviCRM queries rewritten to short links that do not work?
You'll need to upgrade CiviCRM. WP 5.5 made changes to how URL paths are handled which required changes in CiviCRM. I believe those changes were introduced in 5.26. So you will need to upgrade to at least that version to be compatible with WordPress 5.5+.
There was a blog post a while back with more details:
https://civicrm.org/blog/kcristiano/civicrm-526-and-wordpress-important-notice