Not sure if you mean this kind of approach:
add_filter( 'paginate_links', function( $link )
{
return
filter_input( INPUT_GET, 'from_expired' )
? remove_query_arg( 'from_expired', $link )
: $link;
} );
to remove the from_expired
from the pagination links if it’s in the current GET query.