SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Beselich{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCity = 'Beselich' OR prZip = 'Beselich' OR prStreet LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Beselich{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCountry = 'Beselich') AND (prLocation LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}/{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}/{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCountry = '/') AND (prLocation LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Obertiefenbach{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCity = 'Obertiefenbach' OR prZip = 'Obertiefenbach' OR prStreet LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Obertiefenbach{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCountry = 'Obertiefenbach') AND (prLocation LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Germany{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}Germany{787a1f125792919163269cb3566ffa2f738f6032e6b5f2370aee35ef1c552295}' OR prCountry = 'Germany')