SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}Versmold{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}' OR prCity = 'Versmold' OR prZip = 'Versmold' OR prStreet LIKE '{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}Versmold{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}' OR prCountry = 'Versmold') AND (prLocation LIKE '{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}Germany{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}Germany{4b3c34573541c037f1a08cb42b1589fda270d4e28c4f0cccb709dafca2d90760}' OR prCountry = 'Germany')