SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a7f2b281683a19b6af945aba5d944e7c6b52a9cde7c51d6e9b7e094ee67b307' 
  AND token = 'fg9c7EwUudyqKPtVfe6lf3Xv4FUflkF0/+SaUkKCTcs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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