SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}Szentgotthárd{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}' OR prCity = 'Szentgotthárd' OR prZip = 'Szentgotthárd' OR prStreet LIKE '{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}Szentgotthárd{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}' OR prCountry = 'Szentgotthárd') AND (prLocation LIKE '{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}Ungarn{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}' OR prCity = 'Ungarn' OR prZip = 'Ungarn' OR prStreet LIKE '{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}Ungarn{2dc15501f35b32152465f55039c3bad47e0a3cc3016eb73fca0ee94bee49c314}' OR prCountry = 'Ungarn')