SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9b38fe1aaa8112aac216e68b05c7e20bf416dc58905342b3784d20357321ba6' 
  AND token = 'pUa6q8a5UUgYQ/2bGy8lk4CjqdR1vh3ClGT7NKb6WqU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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