LG K40 fingerprint sensor repurpose
Buy a breakout PCB similar to this:. 
https://www.amazon.com/10-Pin-Connector-Breakout-Board-0-5mm/dp/B0191ELG4Y?ref_=fsclp_pl_dp_2
!
Buy another FPC connector of matching pitch. I am assuming it is 0.5mm pitch.  

https://www.digikey.in/product-detail/en/hirose-electric-co-ltd/FH19C-5S-0.5SH-99/H122523CT-ND/5125686 


Then you can buy one FPC ribbon cable to connect Both. 

 

The links are only for examples. 
I would have directly soldered pencil wires on the connector legs of the sensor. The last image is the pencil wire. Which is easy to solder on small pins like the connector.