Disclosed is a compound useful as a prophylactic or therapeutic agent for a disease induced by abnormal plasma uric acid level or the like. Specifically disclosed is a 5-membered heterocyclic derivative represented by the general formula (I), a prodrug or salt thereof, or the like, which has a xanthine oxidase inhibitory activity and is useful as a prophylactic or therapeutic agent for a disease induced by abnormal plasma uric acid level. In the formula (I), T represents a nitro, a cyano or the like; the ring J represents an aryl or a heteroaryl; Q represents a carboxy, a 5-tetrazolyl or the like; Y represents H, OH, NH2, a halogen,a haloalkyl or the like; X1 and X2 independently represent CR2 or N; and R2 represents H, an alkyl or the like; and R1 represents a halogen, a cyano, a haloalkyl, A-D-E-G-L-M, -N(D-L-M)2 or the like [wherein A represents a single bond, O, S or the like; D, G and M independently represent an alkylene which may be substituted, a cycloalkylene, a heterocycloalkylene, an arylene, a heteroarylene or the like; and E and L independently represent a single bond, O, S, COO, SO2 or the like].