SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e947a63dc21e234e15629a59bf569edb7b3772b721585046fc545182aca9308' 
  AND token = 'ufIaC3DXRMId0Q770n2XThcMUqLzK89at8hr3unRpq0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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