SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}Cham{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}' OR prCity = 'Cham' OR prZip = 'Cham' OR prStreet LIKE '{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}Cham{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}' OR prCountry = 'Cham') AND (prLocation LIKE '{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}Germany{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}Germany{7ecf7444e0a7e900954a9efe0fda9c81d2c73ed520b5cb42a7bcf21cd09d95b8}' OR prCountry = 'Germany')