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