SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2dcfaf5c2641fa2fd1ae58b646d9ae07785fcd3103a95ec7cfc7d47c96f924f' 
  AND token = 'kLOnxADfCONLhACcgHT3gVirEGVZIeT5oE9PzBkBYDI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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