[protocoltemplate] Use error_on_duplicate_key_hook when loading data

3 jobs for 25_handle_duplicate_key in 10 minutes and 58 seconds (queued for 1 second)