Text this: A Computationally-Efficient Data-Driven Safe Optimal Algorithm Through Control Merging