The present invention relates to a compound of the general formula (III) or a salt, solvate or prodrug thereof, as well as medical uses involving them, wherein (III) A1 is selected from the group consisting of N and C-R8; A2 is selected from the group consisting of N and C-R3; A3 is selected from the group consisting of N and C-R9; A4 and A5 and A6 are independently selected from the group consisting of N and C-R1; R1 is selected from the group consisting of hydrogen, (C1-C3)alkyl, halogen, (C1-C3)alkoxy and (C1-C3)haloalkyl; R2 is selected from the group consisting of hydrogen, halogen and (C1-C3)alkyl; R3 is selected from the group consisting of hydrogen, (C1-C3)alkyl, NR4R5, (C1-C3)alkyl- NR4R5 and cyano; wherein R4 and R5 are independently selected from the group consisting of hydrogen, (C3- C5)cycloalkyl, (C3-C5)heterocycloalkyl, (C1-C3)alkyl, or R4 and R5 together with the nitrogen atom to which they are attached form a 5- to 7-membered heterocyclic ring optionally comprising in addition to the aforementioned nitrogen atom a further heteroatom group selected from the group consisting of O and NR6, wherein R6 is selected from the group consisting of hydrogen, methyl, acetyl and formyl; Y is selected from the group consisting of O and S; R7 is selected from the group consisting of hydrogen, and (C1-C3)alkyl; R8 is selected from the group consisting of (C1-C4)alkyl, (C3-C5)cycloalkyl, and (C3- C5)heterocycloalkyl; R9 is selected from the group consisting of hydrogen, (C1-C3)alkyl, (C1-C3)alkoxy, and methods for producing such compounds.La presente invención se refiere a un compuesto de la fórmula general (III) o una sal, solvato o profármaco del mismo, así como a usos médicos que implican los mismos, en donde (ver Fórmula) en donde A1 se selecciona del grupo que consiste en N y C-R8; A2 se selecciona del grupo que consiste en N y C-R3; A3 se selecciona del grupo que consiste en N y C-R9; A4 y A5 y A6 se seleccionan independientemente del grupo que consiste en N y