The aqua affinity enchantment doesn't impact the floating mining penalty, but it does clear away the underwater penalty. Which means in an analogous predicament exactly where an unenchanted player would mine twenty five times slower, aqua affinity results in only a five times slower penalty. Underwater mining is discouraging, https://vanshgamer.com/aqua-affinity-minecraft/