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