SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}Каблешково{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}' OR prCity = 'Каблешково' OR prZip = 'Каблешково' OR prStreet LIKE '{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}Каблешково{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}' OR prCountry = 'Каблешково') AND (prLocation LIKE '{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}Bulgaria{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}' OR prCity = 'Bulgaria' OR prZip = 'Bulgaria' OR prStreet LIKE '{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}Bulgaria{dd20418c7dc58d2a5de73db37d4430263452ebeb2376e36f598ba014f404a1ea}' OR prCountry = 'Bulgaria')