Due to a race condition, production databases have some duplicate block_target rows, mostly with bt_user pointing to the same user.
Rectifying the race condition is tracked by T389028 and will take some time. In the meantime, periodically running cleanupBlocks.php will convert duplicate block_target rows to normal multiblocks, which can be deleted with the API or the Codex Special:Block form.