SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '378ff6f624b552bb1012d21519bcbba8746ed5befcb4fe66133b77174791ff6a' 
  AND token = 'kz+XUBff3cUiAuDMSauwFhK/39tzelhzQGdgLzeF7l8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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