SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d58362bc4b819e02e02ee703b9bd79ebea499a31dd02e0fe971e3e7fa09e8ed' 
  AND token = 'Lghy6QtS1exLRaY+yrGw1ZGxGNHjNbxHXhOa8p+6L8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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