If you want to run Meta Box only in the backend, you can wrap the code to register meta box within if ( is_admin() )
, like this:
if ( is_admin() ) {
add_filter( 'rwmb_meta_boxes', 'your_function' );
}
Please note that this code will break helper functions to get meta values in the frontend. So please use with care.