SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}Rojales{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}' OR prCity = 'Rojales' OR prZip = 'Rojales' OR prStreet LIKE '{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}Rojales{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}' OR prCountry = 'Rojales') AND (prLocation LIKE '{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}Spain{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}Spain{582ccaf340c4a5085cc3a67d3dfe8b0d990c5a44d00ab9f2b08b1501c4fce39b}' OR prCountry = 'Spain')