In the export dialogue choose “Master File” of your project first and make sure the effects isn’t happening when watching the video file on your computer.
When the master export is good upload it to YouTube or else video platforms. The file will be transcoded by the streaming platforms to fit all playing needs.
So it appears there is no (built-in) option in FCPX to make separate keyboard short-cuts for separate Effects. Even inside the "Command Editor" mentioned by German Dude, you only have ONE shortcut for applying effects, which is for applying the current Default Effect. But you cannot bind multiple, different effects to different keyboard shortcuts. 😢