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