Some international pharmaceutical companies have succeeded in producing vaccines against COVID-19. Countries all over the world have aimed to obtain these vaccines with minimum cost. We consider a set of K-independent Markovian waiting lists. Each list contains a set of countries, where each one of them has an exponential service time and a Poisson arrival process. These companies differ in some characteristics such as the vaccine production cost and the speed of the required quantity delivery. We present a new detection model that helps in providing an appropriate decision to choose a suitable company. Moreover, the concept of balking and the retention of reneged countries is taken into consideration under the quality control process of each waiting list. Under steady state, we face an interesting and difficult discrete stochastic optimization problem. Its solution gives an optimal distribution of the searching effort, which is bounded by a known probability distribution. A simulation study has been derived to get the minimum value of the paid cost random values. The highest service rate, the total expected profit of each queuing system, and the optimum performance measures, which depend on this cost, have been obtained to show the effectiveness of this model.