[Koha] mysql query xml extract value, runtime parameters and lookup of authorized values