SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Berlin{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Berlin{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCountry = 'Berlin') AND (prLocation LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}/{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}/{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCountry = '/') AND (prLocation LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Mahlsdorf{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCity = 'Mahlsdorf' OR prZip = 'Mahlsdorf' OR prStreet LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Mahlsdorf{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCountry = 'Mahlsdorf') AND (prLocation LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Germany{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}Germany{9de2a095c968e9b88ecc4860b05f53007195e19d8d95757045abf1d2f083d14d}' OR prCountry = 'Germany')