SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3bd442cfe29acfe3e12c0d0e663739504e7c8b0a1bd8b164db5a56d4ee7416c' 
  AND token = 'KHErMEqQPb19KA2yj+O5pdZpPcd3T/+rqdrTHuo91ZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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