SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8363b27fe48c486ff399fd5029486103f25b42a640f3cdecc76c6cef555ed797' 
  AND token = 'ZT+ekWyZa8FZb78u762iPJ+GzW8liHw2vpvd98J167M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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