Let $p,q \in \mathbb{C}[x,y]$ be two polynomials such that $p_xp_yq_xq_y \neq 0$ (namely, each partial derivative is non-zero).
Assume that the following four conditions are satisfied:
(1) $\frac{\mathbb{C}[x][y]}{\langle p \rangle}$ is a flat $\mathbb{C}[x]$-module. (2) $\frac{\mathbb{C}[y][x]}{\langle p \rangle}$ is a flat $\mathbb{C}[y]$-module.
(3) $\frac{\mathbb{C}[x][y]}{\langle q \rangle}$ is a flat $\mathbb{C}[x]$-module. (4) $\frac{\mathbb{C}[y][x]}{\langle q \rangle}$ is a flat $\mathbb{C}[y]$-module.
Question: When $\frac{k[x,y]}{\langle p,q \rangle}$ is a flat $\mathbb{C}[x]$-module or a flat $\mathbb{C}[y]$-module? Or slightly more generally, when $\langle p,q \rangle= \langle r \rangle$ for some $r \in\mathbb{C}[x,y]$?
"Answer": Perhaps the followig additional condition (5) would guarantee flatness of $\frac{\mathbb{C}[x,y]}{\langle p,q \rangle}$ over $\mathbb{C}[x]$ or $\langle p,q \rangle= \langle r \rangle$: (5) $\{p_x,q_x\}$ are linearly independent over $\mathbb{C}$ and $\{p_y,q_y\}$ are linearly independent over $\mathbb{C}$.
Remarks:
(i) If $(p,q)$ is an automorphic pair so $\mathbb{C}[p,q]=\mathbb{C}[x,y]$, then $x-\lambda, y-\mu \in \langle p,q \rangle$, hence $\langle x-\lambda, y-\mu \rangle \subseteq \langle p,q \rangle$. This impies that $\langle p,q \rangle$ is either non-proper or maximal which equals $\langle x-\lambda,y-\mu \rangle$. If it is maximal, then $\frac{\mathbb{C}[x,y]}{\langle p,q \rangle}=k$ which is not $\mathbb{C}[x]$-flat nor $\mathbb{C}[y]$-flat.
(ii) If $\frac{k[x,y]}{\langle p,q \rangle}$ is $\mathbb{C}[x]$-flat, then it can be shown that there exists $r \in k[x,y]$ such that $\langle p,q \rangle =\langle r \rangle$; indeed, apply Corollary 1.3 and Theorem 178(3).
(iii) In condition (5) both $\{p_x,q_x\}$ and $\{p_y,q_y\}$ should be $\mathbb{C}$-linearly independent, as can be seen in my second comment below.
An attempts to find a counterexample: $p=x, q=y+x^2$: Condition (1) is not satisfied, since $\frac{\mathbb{C}[x][y]}{\langle x \rangle}=\mathbb{C}[y]$ is not a flat $\mathbb{C}[x]$-module, by this criterion (the action of $\mathbb{C}[x]$ on $\mathbb{C}[y]$ is $x r=0$ for every $r \in \mathbb{C}[y]$ and scalars of $\mathbb{C}[x]$ act as usual multiplication in $\mathbb{C}[y]$. $x \otimes_{\mathbb{C}[x]} 1$ is in the kernel).
Any comments and hints are welcome! Thank you.