SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}Baldham{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}' OR prCity = 'Baldham' OR prZip = 'Baldham' OR prStreet LIKE '{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}Baldham{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}' OR prCountry = 'Baldham') AND (prLocation LIKE '{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}Germany{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}Germany{909b1757ca97b58eac577f94eb6fa5b6a9b253dd244aab2d2acb8b213a1e3f48}' OR prCountry = 'Germany')