SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}Chianni{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}' OR prCity = 'Chianni' OR prZip = 'Chianni' OR prStreet LIKE '{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}Chianni{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}' OR prCountry = 'Chianni') AND (prLocation LIKE '{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}Italy{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}Italy{85c0d18a56c942de095b8fd91d748343927e90ef66c5044442129ec0950ce719}' OR prCountry = 'Italy')