SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cf3b9f3d9dabf5cacda314bdf112eff4f0f5aed54dfc29a2fd6d3dc427da15e' 
  AND token = 'rg2Yxvd1ePWUZGoDUvpWvGRI+LdFyoJv4whqTwLGMEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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