Use Raw SQL queries for optimization, and handle the case when exact Keyword match is not found