SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}Ravda{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}' OR prCity = 'Ravda' OR prZip = 'Ravda' OR prStreet LIKE '{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}Ravda{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}' OR prCountry = 'Ravda') AND (prLocation LIKE '{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}Bulgaria{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}' OR prCity = 'Bulgaria' OR prZip = 'Bulgaria' OR prStreet LIKE '{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}Bulgaria{4dbbe92dc09d5b8b026cfe880ac57c741d840b7a31db598952e1f81338d59035}' OR prCountry = 'Bulgaria')