Partially moved matching pools check from sql query to golang upon weird sql bugs.

3 jobs for bugfix/fixStartDuelPoolCheck in 5 minutes and 22 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #5146
e2etest

00:05:12

passed #5144
precheck

00:03:52

passed #5145
unittest

00:04:16