SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}Salzkotten{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}' OR prCity = 'Salzkotten' OR prZip = 'Salzkotten' OR prStreet LIKE '{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}Salzkotten{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}' OR prCountry = 'Salzkotten') AND (prLocation LIKE '{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}Germany{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}Germany{46d512671718fb4f176f97766fcb8dddc6dc7d482545f0271ce907836da51dd2}' OR prCountry = 'Germany')