When we search for earlier trade marks we only look in classes containing the same or similar goods or services to your application.
https://www.gov.uk/government/publications/searching-for-similar-trade-mark-goodsservices-in-other-classes
Content Reproduced verbatim from the Website of the United Kingdom Intellectual Property Office (UKIPO) as permitted under their Terms of Use.