Here I have created sql script that full-fill you condition.
SQL
CREATE TABLE #temp(Id INT,MinPrice INT,MaxPrice INT)
INSERT INTO #temp VALUES(1,1000,3000)
INSERT INTO #temp VALUES(2,2000,5000)
INSERT INTO #temp VALUES(3,3000,5000)
INSERT INTO #temp VALUES(4,3000,6000)
INSERT INTO #temp VALUES(5,5000,8000)
DECLARE @maxPrice INT,@minPrice INT
SET @minPrice = 3000
SET @maxPrice = 6000
SELECT * FROM #temp WHERE MinPrice >= @minPrice AND maxPrice <= @maxPrice
DROP TABLE #temp
Screenshot

I hope this will help you out.