SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}Almoradi{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}' OR prCity = 'Almoradi' OR prZip = 'Almoradi' OR prStreet LIKE '{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}Almoradi{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}' OR prCountry = 'Almoradi') AND (prLocation LIKE '{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}Spain{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}Spain{54534309aa84b7b47cd74ed866a859a4a881b82eb4daed13299fcb9d4772eaa1}' OR prCountry = 'Spain')