On semi-infinite systems of convex polynomial inequalities and polynomial optimization problems