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