How can i express this constraint using cvx?

Have you proven this is a convex constraint? It has terms of the form Something'*Something, where Something is linear in the optimization variable; and therefore is not linear (affine), at least as written.