SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f419f8e1df652e53da86e136decc067a6520a49d491f473deedff160e7ac6f9' 
  AND token = 'IyRn15grJ5FJJssEO6HfIMlb5z+kdYrGO7pooYGZWFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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