SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edeb05464a8b2f1e60af41179501014da648b396f1b93090d6c3e7fb3c37cb27' 
  AND token = 'kBm+QfM7Eu2ALtMHNu+U2abf0W+ochxFnzkHrG+S0Bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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