Select Data from SQL Server database and display in LCD using Arduino and python

I'm new to arduino and python ..
I want to select data from database and display in LCD ...
I use arduino mega 2560
These are my aduino and python code...

Arduino code

#include <LiquidCrystal.h>

LiquidCrystal lcd(30, 31, 32, 33, 34, 35);

void setup() {
Serial.begin(9600);
lcd.begin(16, 2);
lcd.print("start");

}

void loop() {
if (Serial.available()) {
delay(100);
lcd.clear();
while (Serial.available() > 0) {
char c = Serial.read();
lcd.write(c);
}
}
}

Python code

from future import print_function
import pypyodbc
import serial
import time
import datetime

s = serial.Serial('COM31', 9600)
time.sleep(2)
s.write('Ready...')

conn = pypyodbc.connect('DRIVER={SQL Server};SERVER=IROSHEN-PC;DATABASE=EasyParkDB')

cur = conn.cursor()

val=cur.execute('''SELECT CurrentState FROM TblBlock WHERE BlockID='4';''')

time.sleep(2)

if val == 1:
s.write('No Space')
else:
s.write('Free To Park')

cur.close()
conn.close()

According to the SQL table CurrentState is a bool value and it's value for BlockID 4 is 1.
According to my code LCD display always show 'Free To Park'

Please help me to solve this........