SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5abb045214022721d1c11bfff08aa9db3b9cbe3745b7ede28ad97479f482792' 
  AND token = 'YVyg+u4Y4ByQhBnQ5Bnrz1iTxjUkpHdOCR45sJ5S1GE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}