SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}Thomasburg{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}' OR prCity = 'Thomasburg' OR prZip = 'Thomasburg' OR prStreet LIKE '{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}Thomasburg{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}' OR prCountry = 'Thomasburg') AND (prLocation LIKE '{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}Germany{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}Germany{c0504dd661195766dd71474feeba29fda1c9c44454425751753ae17d4dfd7255}' OR prCountry = 'Germany')