We can mechanically use the defining formula for conditional probability. As an exercise, we will go through the process. But the ultimate result is so simple that it invites further thinking.
Let $B$ be the event there were $12$ in the first two hours, and let $A$ be the event there were $5$ in the first hour. We want $\Pr(A|B)$. This is $\frac{\Pr(A\cap B)}{\Pr(B)}$.
Calculate. The number of arrivals in $2$ hours is Poisson with parameter $10$, so $\Pr(B)=e^{-10}\frac{10^{12}}{12!}$.
For the event $A\cap B$, note this happens if there are $5$ in the first and $7$ in the second. This has probability $\left(e^{-5}\frac{5^{5}}{5!}\right)\left( e^{-5}\frac{5^{7}}{7!}\right)$.
Divide. The powers of $e$ stuff cancels, and we end up with something that may be very familiar to you from your experience with the binomial distribution. With some manipulation, we arrive at
$$\binom{12}{5}\left(\frac{1}{2}\right)^{12}.$$
Added: Such a simple answer deserves a simple explanation. We had $12$ occurrences of a customer arriving. Label these $12$ customers in an arbitrary random way. Call a customer prompt if she arrives in the first hour. The probability that a customer randomly chosen from the $12$ is prompt is $\frac{1}{2}$, since she is equally likely to have arrived in the first hour as in the second. So the probability that exactly $5$ of the $12$ customers are prompt is $\binom{12}{5}\left(\frac{1}{2}\right)^{12}$.
Remarks: $1.$ You should track down the general case. We have a Poisson with rate $\lambda$ (per hour). Given that there were $n$ arrivals in the first $a+b$ hours, what is the probability that there are $k$ arivals in the first $a$ hours? Go through the same conditional probability calculation. You will get a familiar "binomial-type" expression. Now explain why the result is "obvious," and the conditional probability machinery was not necessary.
$2.$ Given that there were $12$ successes in $2$ hours, the event that there were $5$ in the first hour sounds not unlikely. So the number obtained in the post is too small by several orders of magnitude.
Hint: In order for you answer to be correct you also need to add the following term in the numerator $$\begin{align*}&\phantom{\,\=}P(m \text{ events in $t$ hours | $n$ events in $T$ hours})= \\ \\& =\frac{P(m \text{ events in $t$ hours, $n-m$ events in $T-t$ hours})}{P(n \text{ events in $T$ hours})}=\\\\& =\frac{P(m \text{ events in $t$ hours})\cdot P(n-m \text{ events in $T-t$ hours})}{P(n \text{ events in $T$ hours})}=\ldots\end{align*}$$
Then the formula you used for the poisson distribution is correct. The result should reflect the binomial distribution (see second bullet).
Best Answer
You are right.
Verification:\begin{align}\mathbb{P}(N_{1}=2,N_{2}=4 \mid N_{2}=4) &= \mathbb{P}(N_{1}=2,N_{2}-N_1=2 \mid N_{2}=4)\\ &= \frac{\left(\exp(-\lambda)\frac{\lambda^2}{2!}\right)^2}{\exp(-2\lambda)\frac{(2\lambda)^4}{4!}}\\ &= \frac{\frac14}{\frac{2^4}{4!}}\\ &= \frac{3!}{16}\\ &= \frac{3}{8}\end{align}