SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8252875a9246001bbd99aa8cb6d8e1526050661bdb0132019568554ff6c29cd4' 
  AND token = 'jnr0sCOtzzTxxI+TyUN5tjguRCyo99jHvC8r7vvg21E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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