SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Sinsheim{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCity = 'Sinsheim' OR prZip = 'Sinsheim' OR prStreet LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Sinsheim{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCountry = 'Sinsheim') AND (prLocation LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}/{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}/{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCountry = '/') AND (prLocation LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Reihen{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCity = 'Reihen' OR prZip = 'Reihen' OR prStreet LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Reihen{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCountry = 'Reihen') AND (prLocation LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Germany{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}Germany{6fff046ea6759064a673a3d2061bf679a220d214da20fcb4e4bfe61e7817adab}' OR prCountry = 'Germany')