There is a known bug in Firebird 2.5.2 that makes selects on UNICODE_CI_AI fields extremely slow. This has been corrected in the upcoming 2.5.3 version.
Here is the corresponding item in the Firebird bug tracker: CORE-4125
So the workaround is to use a Firebird 2.5.3 snapshot or wait until 2.5.3 will be released. According to the Roadmap this should happen in Q1/2014.