The uploadstash table has multiple fields that appears to be never used, only written to in UploadStash::stashFile (https://gerrit.wikimedia.org/g/mediawiki/core/+/d02602c59cc31bb36f668acae64f6ba3f0201deb/includes/upload/UploadStash.php#297)
us_orig_path - codesearch: https://codesearch.wmcloud.org/search/?q=us_orig_path&i=nope&files=&repos=
us_sha1 - codesearch: https://codesearch.wmcloud.org/search/?q=us_sha1&i=nope&files=&repos=
Can the columns be removed?