SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17934c1fa45ceb07b93522d5a4eb845fe51b62994f6ebeff7cd5bddd78cc6f96' 
  AND token = '4Fo19gVn7uMDjmZ3JgmFuySNYVXsoJrMI98sP+3k9T8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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