I claim that there are finite groups whose order has arbitrarily many repeating prime factors but which contain a cyclic maximal subgroup of prime order.
Let $F$ be a finite field of order $q=p^m$. Let $a\in F$ and suppose that the order of $a$ is $n$. Define a group automorphism $\phi:F\rightarrow F$ by setting $\phi(b)=ab$. Then we can use this automorphism to obtain a semi-direct product $G$ of $\mathbb{Z}_n$ with $F$.
We observe that $\mathbb{Z}_n$ is a subgroup of $G$. If $a$ is not contained in any proper subfield of $F$, then $\mathbb{Z}_n$ is a maximal subgroup of $G$. We have $p(G)=m+\Omega(n)$ where $\Omega(n)$ denotes the number of prime factors of $n$ ($p(\mathbb{Z}_n)=\Omega(n)$). I claim that we can make $n$ prime while $m$ is arbitrarily large so that $\Omega(n)=1$ and $p(G)=m+1$ while $p(\mathbb{Z}_n)=1$
Suppose that $p,n$ are primes with $n>p$. Then as a consequence of the base $p$ expansion of $1/n$, there is some $m$ where $n$ is a factor of $p^m-1$. Let $m$ be the least positive integer where $n$ is a factor of $m$. In this case, we can find an element $a\in F_q$ with order $m$ and here $a$ is not contained in any proper subfield.