SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Playa{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCity = 'Playa' OR prZip = 'Playa' OR prStreet LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Playa{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCountry = 'Playa') AND (prLocation LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Flamenca{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCity = 'Flamenca' OR prZip = 'Flamenca' OR prStreet LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Flamenca{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCountry = 'Flamenca') AND (prLocation LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Spain{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}Spain{a4c15681ce3f7e52043df8dccb05e76574beb9681d06e85ba011e5784bcd4cbd}' OR prCountry = 'Spain')