Solution found. Because GPG unlock is not called from the shell but from restic, it won’t prompt for the password. The solution is to export GPG_TTY before calling restic.
export GPG_TTY=$(tty)
export RESTIC_PASSWORD_COMMAND="pass show BACKUP/KEY"
[...]
restic backup
Sorry for the noise, hope this will help others.