Verify sandbox ownership in key endpoints
Ensure the authenticated user owns the sandbox before modifying SSH or
Tailscale keys. Join key, sandboxes, and users tables to check the
user's DID and return 404 if no matching sandbox is found. Add required
imports and use an AND predicate in the queries.