Perform search in LOEP using SQL Queries