Recent studies revealed anomalous underscreening in concentrated electrolytes, and we suggest that the underscreened electrostatic forces between membrane proteins play a significant role in the process of self-assembly. In this work, we assumed that the underscreened electrostatic forces compete with the thermodynamic Casimir forces induced by concentration fluctuations in the lipid bilayer, and developed a simplified model for a binary mixture of oppositely charged membrane proteins with different preference to liquid-ordered and liquid-disordered domains in the membrane. In the model, like macromolecules interact with short-range Casimir attraction and long-range electrostatic repulsion, and the cross-interaction is of the opposite sign. We determine energetically favored patterns in a system in equilibrium with a bulk reservoir of the macromolecules. Different patterns consisting of clusters and stripes of the two components and of vacancies are energetically favorable for different values of the chemical potentials. Effects of thermal flutuations at low temperature are studied using Monte Carlo simulations in grand canonical and canonical ensembles. For fixed numbers of the macromolecules, a single two-component cluster with a regular pattern coexists with dispersed small one-component clusters, and the number of small clusters depends on the ratio of the numbers of the molecules of the two components. Our results show that the pattern formation is controlled by the shape of the interactions, the density of the proteins, and the proportion of the components.