SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}Visnjan{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}' OR prCity = 'Visnjan' OR prZip = 'Visnjan' OR prStreet LIKE '{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}Visnjan{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}' OR prCountry = 'Visnjan') AND (prLocation LIKE '{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}Croatia{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}' OR prCity = 'Croatia' OR prZip = 'Croatia' OR prStreet LIKE '{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}Croatia{76d3e0d444b1d53c140793dce6004abab4c8186ebecf90f966079baabe4716ba}' OR prCountry = 'Croatia')