SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}Felanitx{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}' OR prCity = 'Felanitx' OR prZip = 'Felanitx' OR prStreet LIKE '{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}Felanitx{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}' OR prCountry = 'Felanitx') AND (prLocation LIKE '{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}Spain{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}Spain{781ecb2ca2667222b960fc0da1612cf931c52f75eb7b357648ec3dbb99d66961}' OR prCountry = 'Spain')