SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}Osterhofen{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}' OR prCity = 'Osterhofen' OR prZip = 'Osterhofen' OR prStreet LIKE '{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}Osterhofen{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}' OR prCountry = 'Osterhofen') AND (prLocation LIKE '{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}Germany{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}Germany{08ee0132c0212fcff049068791ac2563f50306cce38ed315b6d6520a6038090d}' OR prCountry = 'Germany')