SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Gerasdorf{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCity = 'Gerasdorf' OR prZip = 'Gerasdorf' OR prStreet LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Gerasdorf{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCountry = 'Gerasdorf') AND (prLocation LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}bei{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCity = 'bei' OR prZip = 'bei' OR prStreet LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}bei{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCountry = 'bei') AND (prLocation LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Wien{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCity = 'Wien' OR prZip = 'Wien' OR prStreet LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Wien{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCountry = 'Wien') AND (prLocation LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Austria{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}Austria{8e669878a6d3ebd66841b038ec53e90811eb4df1f94dcc957166f019ad58a387}' OR prCountry = 'Austria')