Assume that \(\lambda _1, \lambda _2, \lambda _3\) are non-zero real numbers, where \(\lambda _1/\lambda _2\) is an irrational number. Let \(\mathcal {V}\) be a well-spaced sequence, and \(\delta >0\) . For any given positive integer \(k\ge 3\) , we give an upper bound of the number of \(\upsilon \in \mathcal {V}\) with \(\upsilon \le X\) for which the inequality \(\begin{aligned} \left| \lambda _1p_1+\lambda _2p_2^2+\lambda _3p_3^k-\upsilon \right| <{\upsilon }^{-\delta } \end{aligned}\) has no solution in primes \(p_1, p_2, p_3\) .