SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}Danndorf{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}' OR prCity = 'Danndorf' OR prZip = 'Danndorf' OR prStreet LIKE '{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}Danndorf{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}' OR prCountry = 'Danndorf') AND (prLocation LIKE '{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}Germany{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}Germany{3143cf538f567199c30b094684496720b6c4d039eafec75262f6abc43ed66ff1}' OR prCountry = 'Germany')