This part is a kind of semiconductor called BFQ31.
Function of this product has EPITAXIAL PLANAR NPN TRANSISTOR (HIGH FREQUENCY/ VHF BAND AMPLIFIER).
Manufacturers : KEC(Korea Electronics)
Image and pinout :

Some of the text within the PDF file :
[ ... ]
BFQ31 PDF Datasheet Download
