Here is a classical theorem from algebraic geometry which might motivate what I'm about to ask.
Let $k$ be an algebraically closed field. If $A$ and $B$ are finitely generated $k$-algebras, then
$$(\mathfrak m, \mathfrak n) \mapsto \mathfrak m \otimes B + A \otimes \mathfrak n$$
defines a bijection $\operatorname{m-spec} A \times \operatorname{m-spec} B \rightarrow \operatorname{m-spec} A \otimes_k B$.
Let $R$ be a $\mathbb Q$-algebra. Suppose that every prime ideal $\mathfrak p$ of $R$ is maximal, and moreover that $R/\mathfrak p \cong \mathbb Q$.
Does the tensor product $R \otimes_{\mathbb Q} R$ then have the same properties?
For an example, consider a totally disconnected Hausdorff space $X$, and let $R$ be the ring of locally constant functions $X \rightarrow \mathbb Q$, i.e. which are continuous when $\mathbb Q$ is given the discrete topology. Then this question of mine shows that $R$ satisfies the above hypothesis. And I believe it can be shown that $R \otimes_{\mathbb Q} R$ identifies with the ring of locally constant functions $X \times X \rightarrow X$.