SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab3d590eb542bff1b74216a066e167a0888f96bc93fccba0f730463a346fcd54' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE Impossible WHERE noticed after reading const tables